opnsense-src/test/CodeGenCXX/virtual-destructor-synthesis.cpp

17 lines
205 B
C++
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2009-12-15 13:49:47 -05:00
struct box {
virtual ~box();
};
struct pile_box : public box {
pile_box(box *);
};
pile_box::pile_box(box *pp)
{
}
// CHECK: call void @_ZdlPv