diff --git a/test/C++Frontend/2003-09-30-ForIncrementExprBug.cpp b/test/C++Frontend/2003-09-30-ForIncrementExprBug.cpp new file mode 100644 index 00000000000..7c8ac853e6c --- /dev/null +++ b/test/C++Frontend/2003-09-30-ForIncrementExprBug.cpp @@ -0,0 +1,8 @@ +struct C {}; + +C &foo(); + +void foox() { + for (; ; foo()); +} +