llvm-mirror/test/FrontendC++/2003-09-30-ForIncrementExprBug.cpp

11 lines
113 B
C++
Raw Normal View History

// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2004-11-06 22:29:57 +00:00
2003-09-30 21:29:27 +00:00
struct C {};
C &foo();
void foox() {
for (; ; foo());
}