diff --git a/test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp b/test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp new file mode 100644 index 00000000000..8e3049c2438 --- /dev/null +++ b/test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp @@ -0,0 +1,10 @@ +// Test with an opaque type + +struct C; + +C &foo(); + +void foox() { + for (; ; foo()); +} +