aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/instantiate-declref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/instantiate-declref.cpp')
-rw-r--r--test/SemaTemplate/instantiate-declref.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/SemaTemplate/instantiate-declref.cpp b/test/SemaTemplate/instantiate-declref.cpp
index 590f241f2f..051c6050ab 100644
--- a/test/SemaTemplate/instantiate-declref.cpp
+++ b/test/SemaTemplate/instantiate-declref.cpp
@@ -55,6 +55,9 @@ namespace N2 {
typedef T type;
type t2 = s1.x;
+ typedef struct { T z; } type2;
+ type2 t3 = { s1.x };
+
Inner i1;
i1.foo();
Inner<T> i2;