Optimize icmp of null and select of two constants even if the select has
[oota-llvm.git] / test / FrontendC++ / 2003-09-30-ForIncrementExprBug2.cpp
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3 // Test with an opaque type
4
5 struct C;
6
7 C &foo();
8
9 void foox() {
10   for (; ; foo());
11 }
12