summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/virtual-destructor-synthesis.cpp
blob: 80d1b1e4ec75a731faefe917e2fa3941dd9f63a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s

struct box {
  virtual ~box();
};

struct pile_box : public box {
  pile_box(box *);
};

pile_box::pile_box(box *pp)
{
}

// CHECK: call void @_ZdlPv