summaryrefslogtreecommitdiff
path: root/tests/headers/issue-358.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/issue-358.hpp')
-rw-r--r--tests/headers/issue-358.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/headers/issue-358.hpp b/tests/headers/issue-358.hpp
new file mode 100644
index 00000000..b14521b7
--- /dev/null
+++ b/tests/headers/issue-358.hpp
@@ -0,0 +1,8 @@
+// bindgen-flags: -- -std=c++11
+namespace JS {
+template <typename> class PersistentRooted;
+}
+template <typename> class a { a *b; };
+namespace JS {
+template <typename c> class PersistentRooted : a<PersistentRooted<c>> {};
+}