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