From 2434a58dcf0a5662d5fba7436c810c67879a7bb3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 14 May 2003 15:44:54 +0000 Subject: [PATCH] New testcase producing assertion failure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6197 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2003-05-14-expr_stmt.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/C++Frontend/2003-05-14-expr_stmt.cpp diff --git a/test/C++Frontend/2003-05-14-expr_stmt.cpp b/test/C++Frontend/2003-05-14-expr_stmt.cpp new file mode 100644 index 00000000000..736245a9fa2 --- /dev/null +++ b/test/C++Frontend/2003-05-14-expr_stmt.cpp @@ -0,0 +1,9 @@ + +struct Foo { int X; }; + +void bar() {} + +int main() { + Foo X; + X = ({ bar(); Foo(); }); +}