// Build don't link: // Special g++ Options: // excess errors test - XFAIL *-*-* template struct B { typedef int I; }; template struct D : public B { void f(); }; template void D::f() { I(); } template <> struct B { void I(); }; int main() { D di; di.f(); }