blob: 742f77b222522385f8cb4bd76fa97fac32e58036 (
plain)
1
2
3
4
5
6
7
|
// PR c++/32113
template<int> struct A;
template<typename T> void foo (A<&T::template i>); // { dg-error "not a template" }
template void foo<A<0> > (A<0>); // { dg-error "does not match" }
|