[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / error28.C
blobd4cf031210b1ecb5475cd7a8c7b81ce38d7d6f4b
1 // PR c++/27211
3 struct A {}; // { dg-message "defined here" }
5 template<int> void A::foo(); // { dg-error "no declaration matches" }
6 // { dg-message "no functions named" "note" { target *-*-* } .-1 }