diff options
author | Chris Lattner <sabre@nondot.org> | 2003-09-30 21:46:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-09-30 21:46:23 +0000 |
commit | cdeeab30ace9d86c04d5aedd1972dd795c9a89cc (patch) | |
tree | 99ba8342d9e73974a5b751e28cc6f3464e05867f /test/C++Frontend/2003-09-30-CommaExprBug.cpp | |
parent | 03cc099f910e7d3eb30444e07cbdf62a598d6036 (diff) |
New testcase that was not correctly handled
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend/2003-09-30-CommaExprBug.cpp')
-rw-r--r-- | test/C++Frontend/2003-09-30-CommaExprBug.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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()); +} + |