diff options
Diffstat (limited to 'bindgen-tests/tests/headers/duplicated-namespaces-definitions.hpp')
-rw-r--r-- | bindgen-tests/tests/headers/duplicated-namespaces-definitions.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/duplicated-namespaces-definitions.hpp b/bindgen-tests/tests/headers/duplicated-namespaces-definitions.hpp new file mode 100644 index 00000000..7c8888de --- /dev/null +++ b/bindgen-tests/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; + }; +} |