summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/using13.C
blob: 3f86ede3770fd75fe384befb169b3fd1e7940007 (plain)
1
2
3
4
5
6
7
8
9
10
11
//PR c++/28051

template<int> struct A {};

template<int N> struct B : A<N>
{
    using A<N>::operator typename A<N>::X; // { dg-error "no type named" }
};

B<0> b;