From 5684229a4583355a6b20a950614731c1a6d38f88 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Fri, 4 Sep 2009 20:19:09 +0000 Subject: [PATCH] Test for llvm-gcc commit 81037. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81038 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FrontendC++/2009-09-04-modify-crash.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/FrontendC++/2009-09-04-modify-crash.cpp diff --git a/test/FrontendC++/2009-09-04-modify-crash.cpp b/test/FrontendC++/2009-09-04-modify-crash.cpp new file mode 100644 index 00000000000..ac16f8c36d1 --- /dev/null +++ b/test/FrontendC++/2009-09-04-modify-crash.cpp @@ -0,0 +1,7 @@ +// RUN: %llvmgxx %s -emit-llvm -fapple-kext -S -o - +// The extra check in 71555 caused this to crash on Darwin X86 +// in an assert build. +class foo { + virtual ~foo (); +}; +foo::~foo(){}