summaryrefslogtreecommitdiff
path: root/tests/headers/class_nested.hpp
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <me@emiliocobos.me>2016-04-04 17:49:38 +0200
committerEmilio Cobos Álvarez <me@emiliocobos.me>2016-04-04 17:49:38 +0200
commitd3cfcf66e4306ef209fefb8c079a725cb7dce90e (patch)
treea36ba4fcaa8c1acfdfbd196e97e2a3f8d764d004 /tests/headers/class_nested.hpp
parente36138ea6733f882dd1d95992aaee307ff0cc69c (diff)
parser: Honour annotations on typedefs and fully on type declarations.
Diffstat (limited to 'tests/headers/class_nested.hpp')
-rw-r--r--tests/headers/class_nested.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/headers/class_nested.hpp b/tests/headers/class_nested.hpp
index e9c07d64..05a775b8 100644
--- a/tests/headers/class_nested.hpp
+++ b/tests/headers/class_nested.hpp
@@ -1,7 +1,13 @@
class A {
+public:
int member_a;
class B {
int member_b;
};
};
+A::B var;
+
+class D {
+ A::B member;
+};