diff options
Diffstat (limited to 'tests/headers/duplicated-namespaces-definitions.hpp')
-rw-r--r-- | tests/headers/duplicated-namespaces-definitions.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/headers/duplicated-namespaces-definitions.hpp b/tests/headers/duplicated-namespaces-definitions.hpp new file mode 100644 index 00000000..7c8888de --- /dev/null +++ b/tests/headers/duplicated-namespaces-definitions.hpp @@ -0,0 +1,18 @@ +// bindgen-flags: --enable-cxx-namespaces + +namespace foo { + class Bar; +} + +namespace bar { + struct Foo { + foo::Bar* ptr; + }; +}; + +namespace foo { + class Bar { + int foo; + bool baz; + }; +} |