[Bug c++/18747] "template<> int i;" accepted

2012-09-05 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18747 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c++/18747] "template<> int i;" accepted

2012-08-31 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18747 --- Comment #6 from Jason Merrill 2012-08-31 21:35:38 UTC --- Author: jason Date: Fri Aug 31 21:35:33 2012 New Revision: 190842 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190842 Log: PR c++/18747 * pt.c (check_template_variabl

[Bug c++/18747] "template<> int i;" accepted

2012-08-23 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18747 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|gcc-bugs at g

[Bug c++/18747] "template<> int i;" accepted

2009-10-30 Thread reichelt at gcc dot gnu dot org
--- Comment #4 from reichelt at gcc dot gnu dot org 2009-10-30 12:41 --- *** Bug 41875 has been marked as a duplicate of this bug. *** -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/18747] "template<> int i;" accepted

2006-06-05 Thread sambitdash at gmail dot com
--- Comment #3 from sambitdash at gmail dot com 2006-06-05 13:46 --- >From the C++ standard draft specification An explicit specialization of any of the following: — function template — class template — member function of a class template — static data member of a class template — membe

[Bug c++/18747] "template<> int i;" accepted

2006-06-04 Thread sambitdash at gmail dot com
--- Comment #2 from sambitdash at gmail dot com 2006-06-05 06:29 --- So is: struct A { }; template<> A i; which means the specilization syntax does not mandate a need the qualifying class needs to be a template type. That looks interesting!!! -- http://gcc.gnu.org/bugzilla/show_b

[Bug c++/18747] "template<> int i;" accepted

2004-11-30 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-01 03:01 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E