[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash117.C
blob5aaaf7344f3135a813c6590afda7d079bfaadc99
1 // PR c++/58649
3 template<typename> void foo()
5   E();  // { dg-error "declaration|declared" }    
6   enum E {};
9 template void foo<int>();