opnsense-src/test/FrontendC++/2003-09-30-ForIncrementExprBug2.cpp

13 lines
139 B
C++
Raw Normal View History

2009-10-14 13:57:32 -04:00
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2009-06-02 13:52:33 -04:00
// Test with an opaque type
struct C;
C &foo();
void foox() {
for (; ; foo());
}