[Bug c++/20350] [4.0/4.1 Regression] extern template and struct initializer and specification for a static variable

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 9 06:42:00 GMT 2005


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-03-09 06:42 -------
This is not valid code.  The "extern" specifier in the template specialization
is not permitted by ISO C++, nor is the G++ "extern template" extension.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |ice-on-invalid-code


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



More information about the Gcc-bugs mailing list