summaryrefslogtreecommitdiff
path: root/tests/headers/issue-662-cannot-find-T-in-this-scope.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/issue-662-cannot-find-T-in-this-scope.hpp')
-rw-r--r--tests/headers/issue-662-cannot-find-T-in-this-scope.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/headers/issue-662-cannot-find-T-in-this-scope.hpp b/tests/headers/issue-662-cannot-find-T-in-this-scope.hpp
new file mode 100644
index 00000000..6b3f928b
--- /dev/null
+++ b/tests/headers/issue-662-cannot-find-T-in-this-scope.hpp
@@ -0,0 +1,7 @@
+// bindgen-flags: -- --std=c++14
+
+template <class T> class RefPtr { T a; };
+template <class T> class nsMainThreadPtrHolder { T a; };
+template <class T> class nsMainThreadPtrHandle {
+ RefPtr<nsMainThreadPtrHolder<T>> mPtr;
+};