xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2008-05-12-TempUsedBeforeDef.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // RUN: %clang_cc1 -w -emit-llvm -o /dev/null %s
2 // PR2264.
3 unsigned foo = 8L;
4 unsigned bar = 0L;
5 volatile unsigned char baz = 6L;
test()6 int test() {
7   char qux = 1L;
8   for (; baz >= -29; baz--)
9     bork(bar && foo, qux);
10 }
11