summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit9c6244dc6c8d79768ab6a77c4fc0a3477468c1b0 (patch)
tree44676998f5c724bc6db55c5a9be8c4371a8dfb1c /llvm
parent56332992c74b6cd2a1e9f404b01f72b39ae757f6 (diff)
downloadbcm5719-llvm-9c6244dc6c8d79768ab6a77c4fc0a3477468c1b0.tar.gz
bcm5719-llvm-9c6244dc6c8d79768ab6a77c4fc0a3477468c1b0.zip
New testcase that was not correctly handled
llvm-svn: 8800
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/C++Frontend/2003-09-30-CommaExprBug.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/Regression/C++Frontend/2003-09-30-CommaExprBug.cpp b/llvm/test/Regression/C++Frontend/2003-09-30-CommaExprBug.cpp
new file mode 100644
index 00000000000..3d57a54a736
--- /dev/null
+++ b/llvm/test/Regression/C++Frontend/2003-09-30-CommaExprBug.cpp
@@ -0,0 +1,8 @@
+class Empty {};
+
+void foo(Empty E);
+
+void bar() {
+ foo(Empty());
+}
+
OpenPOWER on IntegriCloud