]> granicus.if.org Git - clang/commitdiff
Follow-on test case for template instantiation of interesting DeclGroups
authorDouglas Gregor <dgregor@apple.com>
Fri, 29 May 2009 14:26:40 +0000 (14:26 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 29 May 2009 14:26:40 +0000 (14:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72569 91177308-0d34-0410-b5e6-96231b3b80d8

test/SemaTemplate/instantiate-declref.cpp

index 590f241f2f88426f7617ef5377957f240497f191..051c6050abea55d549a42fb8c97c1c3c52387ded 100644 (file)
@@ -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;