blob: 470c1a43c56be719468b218f2d509de9ba559cf3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// clang-cc -o - -emit-llvm %s | FileCheck %s
// PR5483
// Make sure we generate all three forms of the destructor when it is virtual.
class Foo {
virtual ~Foo();
};
Foo::~Foo() {}
// CHECK: define void @_ZN3FooD0Ev
|