2009-12-05 01:02:37 +01:00
|
|
|
// RUN: %llvmgcc -std=c99 %s -S -o - | \
|
2007-03-19 19:25:55 +01:00
|
|
|
// RUN: opt -std-compile-opts -disable-output
|
2005-06-16 00:42:53 +02:00
|
|
|
// PR580
|
|
|
|
|
|
|
|
int X, Y;
|
|
|
|
int foo() {
|
|
|
|
int i;
|
|
|
|
for (i=0; i<100; i++ )
|
|
|
|
{
|
|
|
|
break;
|
|
|
|
i = ( X || Y ) ;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|