llvm-project/clang/test/CodeGenCXX/virtual-inherited-destructo...

9 lines
119 B
C++

// RUN: %clang_cc1 %s -cxx-abi itanium -emit-llvm-only
struct A { virtual ~A(); };
struct B : A {
~B() { }
};
B x;