freebsd-nq/test/CodeGenCXX/virtual-inherited-destructor.cpp

9 lines
130 B
C++
Raw Normal View History

// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm-only
2009-12-15 18:49:47 +00:00
struct A { virtual ~A(); };
struct B : A {
~B() { }
};
B x;