llvm-mirror/test/CFrontend/2008-05-12-TempUsedBeforeDef.c
Duncan Sands 45b1810980 Testcase for PR2264.
llvm-svn: 50965
2008-05-12 13:01:19 +00:00

11 lines
205 B
C

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