diff options
Diffstat (limited to 'test/C++Frontend')
-rw-r--r-- | test/C++Frontend/2003-09-30-ForIncrementExprBug.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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 0000000000..7c8ac853e6 --- /dev/null +++ b/test/C++Frontend/2003-09-30-ForIncrementExprBug.cpp @@ -0,0 +1,8 @@ +struct C {}; + +C &foo(); + +void foox() { + for (; ; foo()); +} + |