// Build don't link: template struct vector {}; template void fn(T) { enum tern { H, L, X, U }; vector ternvec; // ERROR - composed from a local type } template void fn(int);