michael@0: // Copyright (c) 2011 The Chromium Authors. All rights reserved. michael@0: // Use of this source code is governed by a BSD-style license that can be michael@0: // found in the LICENSE file. michael@0: michael@0: #include "missing_ctor.h" michael@0: michael@0: #include michael@0: #include michael@0: michael@0: // We don't warn on classes that use default ctors in cpp files. michael@0: class MissingInCPPOK { michael@0: public: michael@0: michael@0: private: michael@0: std::vector one_; michael@0: std::vector two_; michael@0: }; michael@0: michael@0: int main() { michael@0: MissingInCPPOK one; michael@0: MissingCtorsArentOKInHeader two; michael@0: return 0; michael@0: }