------- Comment #1 from reichelt at gcc dot gnu dot org  2006-05-05 00:29 
-------
On mainline we now ICE:

PR27423.cc:1: error: '<anonymous>' has incomplete type
PR27423.cc:1: error: invalid use of 'void'
PR27423.cc: In function 'void bar()':
PR27423.cc:2: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in convert_for_initialization, at cp/typeck.c:6235
Please submit a full bug report, [etc.]


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|accepts-invalid             |error-recovery, ice-on-
                   |                            |invalid-code
            Summary|Default argument for void   |ICE on default argument for
                   |parameter accepted          |void parameter


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

Reply via email to