diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-02-07 13:35:34 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-02-10 14:03:04 +0100 |
commit | 7e1b7d98d1da5a449ae18f6f60bac29b9079b9ab (patch) | |
tree | c210115eb181cbf45adc553f8aaaec557644db65 /tests/headers/class_nested.hpp | |
parent | 0ae42f2c55305aab12b2f55346001b7d5539cb6f (diff) |
ir: Don't parse non-semantic-children cursor as inner structs.
Fixes: https://github.com/servo/rust-bindgen/issues/482
Diffstat (limited to 'tests/headers/class_nested.hpp')
-rw-r--r-- | tests/headers/class_nested.hpp | 12 |
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; |