llvm-6502/test/CFrontend/2008-05-12-TempUsedBeforeDef.c
Duncan Sands 9658a2cb3d Testcase for PR2264.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50965 91177308-0d34-0410-b5e6-96231b3b80d8
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);
}