This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20350] [4.0/4.1 Regression] extern template and struct initializer and specification for a static variable
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2005 06:42:28 -0000
- Subject: [Bug c++/20350] [4.0/4.1 Regression] extern template and struct initializer and specification for a static variable
- References: <20050306223055.20350.carlo@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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