From: Chris Lattner Date: Wed, 14 May 2003 15:44:54 +0000 (+0000) Subject: New testcase producing assertion failure X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2434a58dcf0a5662d5fba7436c810c67879a7bb3;p=llvm New testcase producing assertion failure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6197 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(); }); +}