llvm-for-llvmta/tools/clang/test/CodeGen/2005-06-15-ExpandGotoIntern...

15 lines
237 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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 ) ;
}
}