summaryrefslogtreecommitdiff
path: root/tests/headers/template_alias_namespace.hpp
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-10-14 14:19:12 +0200
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-10-18 15:55:43 +0200
commit30028f9e3f51fd8b752c594328b170a23f58abd4 (patch)
treed4ac66e0bce3a287e9aac1c124a4fb7a0b46d6c5 /tests/headers/template_alias_namespace.hpp
parentdb32040baa632682b6f2ff5d533e5d6ffbe7a003 (diff)
Tests
Diffstat (limited to 'tests/headers/template_alias_namespace.hpp')
-rw-r--r--tests/headers/template_alias_namespace.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/headers/template_alias_namespace.hpp b/tests/headers/template_alias_namespace.hpp
new file mode 100644
index 00000000..bd637166
--- /dev/null
+++ b/tests/headers/template_alias_namespace.hpp
@@ -0,0 +1,13 @@
+// bindgen-flags: --enable-cxx-namespaces -- -std=c++14
+
+namespace JS {
+namespace detail {
+ template <typename T>
+ using Wrapped = T;
+}
+
+template <typename T>
+struct Rooted {
+ detail::Wrapped<T> ptr;
+};
+}