minix/external/bsd/llvm/dist/clang/test/CodeGenCXX/default-destructor-nested.cpp

14 lines
155 B
C++
Raw Normal View History

// RUN: %clang_cc1 %s -emit-llvm-only
// PR6294
class A {
public: virtual ~A();
};
class B {
class C;
};
class B::C : public A {
C();
};
B::C::C() {}