summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-30 21:29:27 +0000
committerChris Lattner <sabre@nondot.org>2003-09-30 21:29:27 +0000
commitb51a25617dc3df29d3b46de48af7a022dc3cbda0 (patch)
treee60f9f30227f3d9f0a0736f301ddd80c81e64fac /test
parente5d1a22ef2c08b1d0b5dae612428017e19d0641b (diff)
downloadllvm-b51a25617dc3df29d3b46de48af7a022dc3cbda0.tar.gz
llvm-b51a25617dc3df29d3b46de48af7a022dc3cbda0.tar.bz2
llvm-b51a25617dc3df29d3b46de48af7a022dc3cbda0.tar.xz
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/C++Frontend/2003-09-30-ForIncrementExprBug.cpp8
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());
+}
+