diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-01-07 02:30:51 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-01-11 14:34:24 +0100 |
commit | 8c54a566457a1c4aacabf72977380c25c7fa10a1 (patch) | |
tree | abd6b1a5349937bdafebf35c2cf90f54c8fae7c6 /libbindgen/tests/headers/inline_namespace.hpp | |
parent | 66447ff277181073d14bb04c7947eec805cd0623 (diff) |
ir: Handle inline namespaces.
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
Diffstat (limited to 'libbindgen/tests/headers/inline_namespace.hpp')
-rw-r--r-- | libbindgen/tests/headers/inline_namespace.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/inline_namespace.hpp b/libbindgen/tests/headers/inline_namespace.hpp new file mode 100644 index 00000000..2ccf8ab0 --- /dev/null +++ b/libbindgen/tests/headers/inline_namespace.hpp @@ -0,0 +1,11 @@ +// bindgen-flags: --enable-cxx-namespaces -- -std=c++11 + +namespace foo { + inline namespace bar { + using Ty = int; + }; +}; + +class Bar { + foo::Ty baz; +}; |