// { dg-do assemble } | |
template <class T> | |
struct vector {}; | |
template<class T> | |
void fn(T) | |
{ | |
enum tern { H, L, X, U }; | |
vector<tern> ternvec; // { dg-warning "template argument uses" } composed from a local type | |
} | |
template void fn(int); // { dg-error "note" } |