mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-29 14:42:01 +00:00
Testcase for PR2264.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50965 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7b45e33107
commit
9658a2cb3d
10
test/CFrontend/2008-05-12-TempUsedBeforeDef.c
Normal file
10
test/CFrontend/2008-05-12-TempUsedBeforeDef.c
Normal file
@ -0,0 +1,10 @@
|
||||
// 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);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user