teak-llvm/clang/test/CodeGenCXX/default-destructor-nested.cpp
Eli Friedman b632e30e41 Fix for PR6294: we should only delay recording nested dynamic classes if they
are lexically nested.  Othewise, we never end up recording semantically nested
classes.

llvm-svn: 97900
2010-03-07 05:49:51 +00:00

14 lines
149 B
C++

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