llvm-6502/test/FrontendC++/2009-09-04-modify-crash.cpp
Dale Johannesen 5684229a45 Test for llvm-gcc commit 81037.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81038 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-04 20:19:09 +00:00

8 lines
185 B
C++

// 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(){}