diff options
-rw-r--r-- | test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c b/test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c new file mode 100644 index 0000000000..0b49f52b1f --- /dev/null +++ b/test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c @@ -0,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 ) ; + } +} + |