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:
Duncan Sands 2008-05-12 13:01:19 +00:00
parent 7b45e33107
commit 9658a2cb3d

View 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);
}