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(); }); +}