summaryrefslogtreecommitdiff
path: root/tests/headers/duplicated_constants_in_ns.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/duplicated_constants_in_ns.hpp')
-rw-r--r--tests/headers/duplicated_constants_in_ns.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/headers/duplicated_constants_in_ns.hpp b/tests/headers/duplicated_constants_in_ns.hpp
new file mode 100644
index 00000000..bb343641
--- /dev/null
+++ b/tests/headers/duplicated_constants_in_ns.hpp
@@ -0,0 +1,7 @@
+// bindgen-flags: --enable-cxx-namespaces
+namespace foo {
+ const int FOO = 4;
+}
+namespace bar {
+ const int FOO = 5;
+}