From 03cc099f910e7d3eb30444e07cbdf62a598d6036 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 30 Sep 2003 21:31:25 +0000 Subject: 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 --- test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/C++Frontend/2003-09-30-ForIncrementExprBug2.cpp (limited to 'test') 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()); +} + -- cgit v1.2.3