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

11 lines
222 B
C

// RUN: %clang_cc1 -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);
}