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