mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-02 00:37:09 +00:00
new testcase for PR580
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4bd09d70cc
commit
065e4208a9
13
test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c
Normal file
13
test/CFrontend/2005-06-15-ExpandGotoInternalProblem.c
Normal file
@ -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 ) ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user