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

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


Author: sabre
Date: Wed Jul 11 11:25:07 2007
New Revision: 38845

URL: http://llvm.org/viewvc/llvm-project?rev=38845&view=rev
Log:
add test2

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=38845&r1=38844&r2=38845&view=diff

==============================================================================
--- cfe/cfe/trunk/test/Parser/statements.c (original)
+++ cfe/cfe/trunk/test/Parser/statements.c Wed Jul 11 11:25:07 2007
@@ -4,3 +4,15 @@
   { ; {  ;;}} ;;
 }
 
+int test2() {
+  if (0) { if (1) {} } else { }
+
+  do { } while (0); 
+  
+  while (0) while(0) do ; while(0);
+
+  for (0;0;0)
+    for (;;)
+      for (9;0;2)
+        ;
+}





More information about the cfe-commits mailing list