summaryrefslogtreecommitdiff
path: root/tests/headers/class_nested.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/class_nested.hpp')
-rw-r--r--tests/headers/class_nested.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/headers/class_nested.hpp b/tests/headers/class_nested.hpp
index ab38d500..ccf2f895 100644
--- a/tests/headers/class_nested.hpp
+++ b/tests/headers/class_nested.hpp
@@ -4,9 +4,21 @@ public:
class B {
int member_b;
};
+
+ class C;
+
+ template<typename T>
+ class D {
+ T foo;
+ };
+};
+
+class A::C {
+ int baz;
};
A::B var;
+A::D<int> baz;
class D {
A::B member;