summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-30 21:31:25 +0000
committerChris Lattner <sabre@nondot.org>2003-09-30 21:31:25 +0000
commit03cc099f910e7d3eb30444e07cbdf62a598d6036 (patch)
treea4e4c9b1f8c3db885c470c0f83b4e2fcc35a5cec /test
parentb51a25617dc3df29d3b46de48af7a022dc3cbda0 (diff)
downloadllvm-03cc099f910e7d3eb30444e07cbdf62a598d6036.tar.gz
llvm-03cc099f910e7d3eb30444e07cbdf62a598d6036.tar.bz2
llvm-03cc099f910e7d3eb30444e07cbdf62a598d6036.tar.xz
This bug is not fixed, but will be in the future eventually
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp10
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());
+}
+