llvm/test/FrontendC/2008-05-12-TempUsedBeforeDef.c
Dale Johannesen 6a02432574 Add -w to inhibit gcc warnings, which causes the
harness to fail the tests.  The warning all appear
legitimate.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52186 91177308-0d34-0410-b5e6-96231b3b80d8
2008-06-10 18:00:09 +00:00

11 lines
208 B
C

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