------- Comment #7 from reichelt at gcc dot gnu dot org  2006-02-14 20:38 
-------
One more datapoint:
The following invalid testcase is accepted since GCC 4.0.2:

===============================
template<int> struct A
{
    static const int i = A();
};

A<0> a;
===============================


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid


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

Reply via email to