llvm-for-llvmta/tools/clang/test/CodeGen/2008-05-12-TempUsedBeforeDef.c

11 lines
218 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() {
char qux = 1L;
for (; baz >= -29; baz--)
bork(bar && foo, qux);
}