summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-22 04:36:12 +0000
committerChris Lattner <sabre@nondot.org>2003-08-22 04:36:12 +0000
commitda228ef560bbb2a18148da2ecf549e8d1be51d91 (patch)
tree7f1d8ace573370ee92de9e134f491f8d58da2131 /test
parent3bb49fbd27aacc2dc5ab0495d9a6ca54616afbc0 (diff)
downloadllvm-da228ef560bbb2a18148da2ecf549e8d1be51d91.tar.gz
llvm-da228ef560bbb2a18148da2ecf549e8d1be51d91.tar.bz2
llvm-da228ef560bbb2a18148da2ecf549e8d1be51d91.tar.xz
Remove name, add body. Causes llvmg++ segfault!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8045 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/C++Frontend/2003-08-21-EmptyClass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/C++Frontend/2003-08-21-EmptyClass.cpp b/test/C++Frontend/2003-08-21-EmptyClass.cpp
index 4951871b82..34629d1a4c 100644
--- a/test/C++Frontend/2003-08-21-EmptyClass.cpp
+++ b/test/C++Frontend/2003-08-21-EmptyClass.cpp
@@ -2,6 +2,6 @@
struct empty {};
-void foo(empty E);
+void foo(empty) {}
void bar() { foo(empty()); }