Free the constants that have no uses in ~LLVMContext.
[oota-llvm.git] / test / FrontendC++ / 2003-09-30-ForIncrementExprBug.cpp
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2
3 struct C {};
4
5 C &foo();
6
7 void foox() {
8   for (; ; foo());
9 }
10