summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-declref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaTemplate/instantiate-declref.cpp')
-rw-r--r--clang/test/SemaTemplate/instantiate-declref.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/SemaTemplate/instantiate-declref.cpp b/clang/test/SemaTemplate/instantiate-declref.cpp
index 590f241f2f8..051c6050abe 100644
--- a/clang/test/SemaTemplate/instantiate-declref.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud