summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2008-05-12-TempUsedBeforeDef.c
blob: bc2886effc20425ef3ec3b03540184f5f754d4d2 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -w -emit-llvm -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);
}