virtual-destructor-synthesis.cpp revision f8fd82ba49827db0f6a6ba00c55a7b56b12a19fa
1// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s 2 3struct box { 4 virtual ~box(); 5}; 6 7struct pile_box : public box { 8 pile_box(box *); 9}; 10 11pile_box::pile_box(box *pp) 12{ 13} 14 15// CHECK: call void @_ZdlPv 16 17