summaryrefslogtreecommitdiff
path: root/tests/headers/nested-template-typedef.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/nested-template-typedef.hpp')
-rw-r--r--tests/headers/nested-template-typedef.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/headers/nested-template-typedef.hpp b/tests/headers/nested-template-typedef.hpp
new file mode 100644
index 00000000..8c83de5b
--- /dev/null
+++ b/tests/headers/nested-template-typedef.hpp
@@ -0,0 +1,8 @@
+template<typename T>
+class Foo {
+public:
+ template<typename U>
+ struct Bar {
+ typedef Foo<U> FooU;
+ };
+};