------- Additional Comments From reichelt at gcc dot gnu dot org  2005-07-25 
13:54 -------
Here's an example with valid code:

=========================================
template<int> struct A
{
    A(void(A::*)() = &A::operator+);
    void operator+ ();
};
=========================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|ice-on-invalid-code         |ice-on-valid-code, monitored
            Summary|[4.0/4.1 Regression]        |[4.0/4.1 Regression] ICE
                   |'template class/operator    |with operator in default
                   |overloading/default         |argument in template class
                   |argument' internal compiler |
                   |error                       |


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

Reply via email to