This bug is not fixed, but will be in the future eventually
authorChris Lattner <sabre@nondot.org>
Tue, 30 Sep 2003 21:31:25 +0000 (21:31 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 30 Sep 2003 21:31:25 +0000 (21:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8799 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp [new file with mode: 0644]

diff --git a/test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp b/test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp
new file mode 100644 (file)
index 0000000..8e3049c
--- /dev/null
@@ -0,0 +1,10 @@
+// Test with an opaque type
+
+struct C;
+
+C &foo();
+
+void foox() {
+  for (; ; foo());
+}
+