[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash74.C
blobd236947ec5116c341c48b9861bfbec10d7014bd0
1 // PR c++/34089
2 // { dg-do compile }
3 // { dg-options "" }
5 template<typename F> void foo () { } // { dg-prune-output "previous" }
6 template<typename F> struct foo<F> { }; // { dg-error "template" }