OSDN Git Service

* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / spec19.C
1 // Build don't link:
2
3 template<class T> T f(T o) { return o; }
4 template<> int f(int o)    { return o; } // ERROR - after specialization
5 template int f(int);  // ERROR - explicit instantiation