diff options
Diffstat (limited to 'test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp')
-rw-r--r-- | test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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 0000000000..8e3049c243 --- /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()); +} + |