llvm-for-llvmta/tools/clang/test/CodeGenCXX/default-destructor-nested.cpp

14 lines
183 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -triple %itanium_abi_triple -emit-llvm-only
// PR6294
class A {
public: virtual ~A();
};
class B {
class C;
};
class B::C : public A {
C();
};
B::C::C() {}