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 "inline_ctor.h" michael@0: michael@0: #include michael@0: #include michael@0: michael@0: // We don't warn on classes that are in CPP files. michael@0: class InlineInCPPOK { michael@0: public: michael@0: InlineInCPPOK() {} michael@0: ~InlineInCPPOK() {} 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: InlineInCPPOK one; michael@0: InlineCtorsArentOKInHeader two; michael@0: return 0; michael@0: }