summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/instantiate-declref.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-05-29 14:26:40 +0000
committerDouglas Gregor <dgregor@apple.com>2009-05-29 14:26:40 +0000
commit055809446451606b79b822b2a78623c0fb839e10 (patch)
treee644d6ecff796a1a140a0db0638ea625519fe681 /clang/test/SemaTemplate/instantiate-declref.cpp
parent8157b07caf5fcf953096dfd8bfa5a97152c764c5 (diff)
downloadbcm5719-llvm-055809446451606b79b822b2a78623c0fb839e10.tar.gz
bcm5719-llvm-055809446451606b79b822b2a78623c0fb839e10.zip
Follow-on test case for template instantiation of interesting DeclGroups
llvm-svn: 72569
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