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