llvm-project/llvm/test/FrontendC++/2003-09-30-ForIncrementExpr...

13 lines
139 B
C++
Raw Normal View History

// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2004-11-07 06:29:57 +08:00
// Test with an opaque type
struct C;
C &foo();
void foox() {
for (; ; foo());
}