------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-11 12:42 -------
3) And also defined in the anonymous namespace in another module: namespace { template<typename T> T foo<T>::t = 0; } That is invalid code as you are instantiating in a different namespace. I think there is a bug about accepting this code (I have not looked yet). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25748