llvm-project/clang/test/CodeGen/2008-05-12-TempUsedBeforeDef.c

11 lines
231 B
C

// RUN: %clang_cc1 -std=c89 -w -emit-llvm -o /dev/null %s
// PR2264.
unsigned foo = 8L;
unsigned bar = 0L;
volatile unsigned char baz = 6L;
int test(void) {
char qux = 1L;
for (; baz >= -29; baz--)
bork(bar && foo, qux);
}