[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash70.C
blob9ccadfb6fadbb04cbe20433663537ba86a681a1a
1 // PR c++/32113
3 template<int> struct A;
5 template<typename T> void foo (A<&T::template i>);
7 template void foo<A<0> > (A<0>); // { dg-error "does not match" }