1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 00:12:50 +01:00
llvm-mirror/test/FrontendC/2008-05-12-TempUsedBeforeDef.c
Dale Johannesen 6654d90831 Add -w to inhibit gcc warnings, which causes the
harness to fail the tests.  The warning all appear
legitimate.

llvm-svn: 52186
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);
}