brintos

brintos / llvm-project-archived public Read only

0
0
Text · 301 B · 708106b Raw
11 lines · cpp
1// RUN: %clang_cc1 -o - -triple %itanium_abi_triple -emit-llvm %s | FileCheck %s2// PR54833 4// Make sure we generate all three forms of the destructor when it is virtual.5class Foo {6  virtual ~Foo();7};8Foo::~Foo() {}9 10// CHECK-LABEL: define {{.*}}void @_ZN3FooD0Ev(ptr {{[^,]*}} %this) unnamed_addr11