From cdeeab30ace9d86c04d5aedd1972dd795c9a89cc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 30 Sep 2003 21:46:23 +0000 Subject: New testcase that was not correctly handled git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8800 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/2003-09-30-CommaExprBug.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/C++Frontend/2003-09-30-CommaExprBug.cpp (limited to 'test') diff --git a/test/C++Frontend/2003-09-30-CommaExprBug.cpp b/test/C++Frontend/2003-09-30-CommaExprBug.cpp new file mode 100644 index 0000000000..3d57a54a73 --- /dev/null +++ b/test/C++Frontend/2003-09-30-CommaExprBug.cpp @@ -0,0 +1,8 @@ +class Empty {}; + +void foo(Empty E); + +void bar() { + foo(Empty()); +} + -- cgit v1.2.3