summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit56332992c74b6cd2a1e9f404b01f72b39ae757f6 (patch)
treeca251bed1b714395a65f90615380441234e88dd2 /llvm/test
parent1656d32e3df15a5f17890a88a6523e8d8a1ceb3a (diff)
downloadbcm5719-llvm-56332992c74b6cd2a1e9f404b01f72b39ae757f6.tar.gz
bcm5719-llvm-56332992c74b6cd2a1e9f404b01f72b39ae757f6.zip
This bug is not fixed, but will be in the future eventually
llvm-svn: 8799
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Regression/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Regression/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp b/llvm/test/Regression/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp
new file mode 100644
index 00000000000..8e3049c2438
--- /dev/null
+++ b/llvm/test/Regression/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp
@@ -0,0 +1,10 @@
+// Test with an opaque type
+
+struct C;
+
+C &foo();
+
+void foox() {
+ for (; ; foo());
+}
+
OpenPOWER on IntegriCloud