[cfe-commits] r72569 - /cfe/trunk/test/SemaTemplate/instantiate-declref.cpp

Douglas Gregor dgregor at apple.com
Fri May 29 07:26:41 PDT 2009


Author: dgregor
Date: Fri May 29 09:26:40 2009
New Revision: 72569

URL: http://llvm.org/viewvc/llvm-project?rev=72569&view=rev
Log:
Follow-on test case for template instantiation of interesting DeclGroups

Modified:
    cfe/trunk/test/SemaTemplate/instantiate-declref.cpp

Modified: cfe/trunk/test/SemaTemplate/instantiate-declref.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/instantiate-declref.cpp?rev=72569&r1=72568&r2=72569&view=diff

==============================================================================
--- cfe/trunk/test/SemaTemplate/instantiate-declref.cpp (original)
+++ cfe/trunk/test/SemaTemplate/instantiate-declref.cpp Fri May 29 09:26:40 2009
@@ -55,6 +55,9 @@
         typedef T type;
         type t2 = s1.x;
 
+        typedef struct { T z; } type2;
+        type2 t3 = { s1.x };
+
         Inner i1;
         i1.foo();
         Inner<T> i2;





More information about the cfe-commits mailing list