Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / tools / clang / plugins / tests / missing_ctor_dllexport.cpp
blobb779d19490025fdf96734757ab00ac0d0443e547
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.
5 #include "missing_ctor_dllexport.h"
7 // We don't warn on classes that use default ctors in cpp files.
8 class MissingInCPPOK {
9 public:
11 private:
12 MyVector<int> one_;
13 MyVector<MyString> two_;
16 int main() {
17 MissingInCPPOK one;
18 MissingCtorsArentOKInHeader two;
19 return 0;