bolt/deps/llvm-18.1.8/clang/test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c

15 lines
241 B
C
Raw Normal View History

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