[cfe-commits] r38870 - /cfe/cfe/trunk/test/Parser/statements.c

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:25:21 PDT 2007


Author: sabre
Date: Wed Jul 11 11:25:21 2007
New Revision: 38870

URL: http://llvm.org/viewvc/llvm-project?rev=38870&view=rev
Log:
Add another testcase

Modified:
    cfe/cfe/trunk/test/Parser/statements.c

Modified: cfe/cfe/trunk/test/Parser/statements.c
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Parser/statements.c?rev=38870&r1=38869&r2=38870&view=diff

==============================================================================
--- cfe/cfe/trunk/test/Parser/statements.c (original)
+++ cfe/cfe/trunk/test/Parser/statements.c Wed Jul 11 11:25:21 2007
@@ -53,4 +53,8 @@
 
   (int)4;   // cast.
   (int){4}; // compound literal.
+
+  // FIXME: change this to the struct version when we can.
+  //int A = (struct{ int a;}){ 1}.a;
+  int A = (int){ 1}.a;
 }





More information about the cfe-commits mailing list