summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-30 21:46:23 +0000
committerChris Lattner <sabre@nondot.org>2003-09-30 21:46:23 +0000
commitcdeeab30ace9d86c04d5aedd1972dd795c9a89cc (patch)
tree99ba8342d9e73974a5b751e28cc6f3464e05867f /test
parent03cc099f910e7d3eb30444e07cbdf62a598d6036 (diff)
downloadllvm-cdeeab30ace9d86c04d5aedd1972dd795c9a89cc.tar.gz
llvm-cdeeab30ace9d86c04d5aedd1972dd795c9a89cc.tar.bz2
llvm-cdeeab30ace9d86c04d5aedd1972dd795c9a89cc.tar.xz
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')
-rw-r--r--test/C++Frontend/2003-09-30-CommaExprBug.cpp8
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());
+}
+