[llvm-commits] CVS: llvm/test/Regression/CFrontend/2005-06-15-ExpandGotoInternalProblem.c

Chris Lattner lattner at cs.uiuc.edu
Wed Jun 15 15:43:04 PDT 2005



Changes in directory llvm/test/Regression/CFrontend:

2005-06-15-ExpandGotoInternalProblem.c added (r1.1)
---
Log message:

new testcase for PR580: http://llvm.cs.uiuc.edu/PR580 


---
Diffs of the changes:  (+13 -0)

 2005-06-15-ExpandGotoInternalProblem.c |   13 +++++++++++++
 1 files changed, 13 insertions(+)


Index: llvm/test/Regression/CFrontend/2005-06-15-ExpandGotoInternalProblem.c
diff -c /dev/null llvm/test/Regression/CFrontend/2005-06-15-ExpandGotoInternalProblem.c:1.1
*** /dev/null	Wed Jun 15 17:43:03 2005
--- llvm/test/Regression/CFrontend/2005-06-15-ExpandGotoInternalProblem.c	Wed Jun 15 17:42:53 2005
***************
*** 0 ****
--- 1,13 ----
+ // RUN: %llvmgcc -std=c99 %s -S -o - | gccas -o /dev/null
+ // PR580
+ 
+ int X, Y;
+ int foo() {
+   int i;
+         for (i=0; i<100; i++ )
+         {
+                 break;
+                 i = ( X || Y ) ;
+         }
+ }
+ 






More information about the llvm-commits mailing list