// Build don't link: template struct A { typedef T T1; }; template struct B : T::T1 { // insert `typename' before T::T1 }; struct C { }; B > z;