summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk/tools/clang/plugins/tests/nested_class_inline_ctor.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/webrtc/trunk/tools/clang/plugins/tests/nested_class_inline_ctor.h')
-rw-r--r--media/webrtc/trunk/tools/clang/plugins/tests/nested_class_inline_ctor.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/clang/plugins/tests/nested_class_inline_ctor.h b/media/webrtc/trunk/tools/clang/plugins/tests/nested_class_inline_ctor.h
new file mode 100644
index 000000000..01cfea923
--- /dev/null
+++ b/media/webrtc/trunk/tools/clang/plugins/tests/nested_class_inline_ctor.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NESTED_CLASS_INLINE_CTOR_H_
+#define NESTED_CLASS_INLINE_CTOR_H_
+
+#include <string>
+#include <vector>
+
+// See crbug.com/136863.
+
+class Foo {
+ class Bar {
+ Bar() {}
+ ~Bar() {}
+
+ std::vector<std::string> a;
+ };
+};
+
+#endif // NESTED_CLASS_INLINE_CTOR_H_