summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/allowlist-namespaces.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/allowlist-namespaces.hpp')
-rw-r--r--bindgen-tests/tests/headers/allowlist-namespaces.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/allowlist-namespaces.hpp b/bindgen-tests/tests/headers/allowlist-namespaces.hpp
new file mode 100644
index 00000000..2cffe9d3
--- /dev/null
+++ b/bindgen-tests/tests/headers/allowlist-namespaces.hpp
@@ -0,0 +1,10 @@
+// bindgen-flags: --enable-cxx-namespaces --allowlist-type '.*'
+
+namespace outer {
+ namespace inner {
+ struct Helper {};
+ }
+ struct Test {
+ inner::Helper helper;
+ };
+}