summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/inline_namespace_allowlist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/inline_namespace_allowlist.hpp')
-rw-r--r--bindgen-tests/tests/headers/inline_namespace_allowlist.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/inline_namespace_allowlist.hpp b/bindgen-tests/tests/headers/inline_namespace_allowlist.hpp
new file mode 100644
index 00000000..90e46dfb
--- /dev/null
+++ b/bindgen-tests/tests/headers/inline_namespace_allowlist.hpp
@@ -0,0 +1,7 @@
+// bindgen-flags: --enable-cxx-namespaces --allowlist-type=std::string -- -std=c++11
+
+namespace std {
+ inline namespace bar {
+ using string = const char*;
+ };
+};