llvm-mirror/test/Regression/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp

11 lines
87 B
C++
Raw Normal View History

// Test with an opaque type
struct C;
C &foo();
void foox() {
for (; ; foo());
}