netbsd/external/bsd/llvm/dist/clang/test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c
2015-10-15 10:25:28 +02:00

15 lines
237 B
C

// RUN: %clang_cc1 -std=c99 %s -emit-llvm -o - | \
// RUN: opt -O3 -disable-output
// PR580
int X, Y;
int foo() {
int i;
for (i=0; i<100; i++ )
{
break;
i = ( X || Y ) ;
}
}