1 //PR c++/28051 2 3 template<int> struct A {}; 4 5 template<int N> struct B : A<N> 6 { 7 using A<N>::operator typename A<N>::X; // { dg-error "no type named" } 8 }; 9 10 B<0> b; 11 12