summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2009-09-04-modify-crash.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-09-04 20:19:09 +0000
committerDale Johannesen <dalej@apple.com>2009-09-04 20:19:09 +0000
commit5684229a4583355a6b20a950614731c1a6d38f88 (patch)
tree7cbfbd8a13ba0a3843fe8e17c371e7d90ab69941 /test/FrontendC++/2009-09-04-modify-crash.cpp
parent365b18eba66e69a38a8282d967aa5e1e06765591 (diff)
downloadllvm-5684229a4583355a6b20a950614731c1a6d38f88.tar.gz
llvm-5684229a4583355a6b20a950614731c1a6d38f88.tar.bz2
llvm-5684229a4583355a6b20a950614731c1a6d38f88.tar.xz
Test for llvm-gcc commit 81037.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC++/2009-09-04-modify-crash.cpp')
-rw-r--r--test/FrontendC++/2009-09-04-modify-crash.cpp7
1 files changed, 7 insertions, 0 deletions
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 0000000000..ac16f8c36d
--- /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(){}