1// Copyright (c) 2011 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "missing_ctor.h" 6 7// We don't warn on classes that use default ctors in cpp files. 8class MissingInCPPOK { 9 public: 10 11 private: 12 MyVector<int> one_; 13 MyVector<MyString> two_; 14}; 15 16int main() { 17 MissingInCPPOK one; 18 MissingCtorsArentOKInHeader two; 19 return 0; 20} 21