summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/inline_namespace_whitelist.hpp
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-01-07 02:30:51 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-01-11 14:34:24 +0100
commit8c54a566457a1c4aacabf72977380c25c7fa10a1 (patch)
treeabd6b1a5349937bdafebf35c2cf90f54c8fae7c6 /libbindgen/tests/headers/inline_namespace_whitelist.hpp
parent66447ff277181073d14bb04c7947eec805cd0623 (diff)
ir: Handle inline namespaces.
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
Diffstat (limited to 'libbindgen/tests/headers/inline_namespace_whitelist.hpp')
-rw-r--r--libbindgen/tests/headers/inline_namespace_whitelist.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/inline_namespace_whitelist.hpp b/libbindgen/tests/headers/inline_namespace_whitelist.hpp
new file mode 100644
index 00000000..30047bbe
--- /dev/null
+++ b/libbindgen/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*;
+ };
+};