Test for llvm-gcc commit 81037.
authorDale Johannesen <dalej@apple.com>
Fri, 4 Sep 2009 20:19:09 +0000 (20:19 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 4 Sep 2009 20:19:09 +0000 (20:19 +0000)
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 [new file with mode: 0644]

diff --git a/test/FrontendC++/2009-09-04-modify-crash.cpp b/test/FrontendC++/2009-09-04-modify-crash.cpp
new file mode 100644 (file)
index 0000000..ac16f8c
--- /dev/null
@@ -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(){}