blob: 5aaaf7344f3135a813c6590afda7d079bfaadc99 [file] [log] [blame]
// PR c++/58649
template<typename> void foo()
{
E(); // { dg-error "declaration|declared" }
enum E {};
}
template void foo<int>();