From b51a25617dc3df29d3b46de48af7a022dc3cbda0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 30 Sep 2003 21:29:27 +0000 Subject: [PATCH] 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 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()); +} +