------- Comment #4 from ciaran dot mccreesh at googlemail dot com  2008-08-27 
17:07 -------
I don't expect it to link. I do expect it to compile. In real code I would of
course have struct B in a header and template class B<int>; in a different
source file.

So far as I can see this is a change in behaviour in 4.4 that goes against both
the draft standard and how the GCC extension used to work, and which makes
'extern template' effectively useless.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37256

Reply via email to