YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c

15 lines
251 B
C
Raw Normal View History

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