llvm-6502/test/FrontendC++/2009-09-04-modify-crash.cpp

8 lines
185 B
C++
Raw Normal View History

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