[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / nontype18.C
blobcbe0a1b5a0d7f29ea9a600e73684a04c70bbf637
1 // PR c++/28743
3 template<int I> struct A
5     template<typename T> void foo();
6 };
8 template<int I> template<typename T> void A<0>::foo() {} // { dg-error "template parameter" }