// RUN: clang -fsyntax-only -verify %s namespace N { template class A; template<> class A { }; class B : public A { }; } class C1 : public N::A { }; class C2 : public N::A { }; // expected-error{{base class has incomplete type}} \ // FIXME: expected-note{{forward declaration of 'class A'}} struct D1 { operator N::A(); }; namespace N { struct D2 { operator A(); }; }