From b51a25617dc3df29d3b46de48af7a022dc3cbda0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 30 Sep 2003 21:29:27 +0000 Subject: new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8798 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2003-09-30-ForIncrementExprBug.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/C++Frontend/2003-09-30-ForIncrementExprBug.cpp (limited to 'test') 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()); +} + -- cgit v1.2.3