llvm-mirror/test/FrontendC/2008-05-12-TempUsedBeforeDef.c

11 lines
208 B
C
Raw Normal View History

// RUN: %llvmgcc -w -S -o /dev/null %s
2008-05-12 13:01:19 +00:00
// 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);
}