------- Comment #2 from lmillward at gcc dot gnu dot org  2006-08-29 19:02 
-------
This doesn't ICE for me with current mainline - I get the following error
messages:

bug.cc:1: error: 'void' is not a valid type for a template constant parameter
bug.cc:6: error: type/value mismatch at argument 1 in template parameter list
for 'template<<declaration error> > struct A'
bug.cc:6: error:   expected a constant of type '<type error>', got 'int'
bug.cc:6: error: expected unqualified-id before '{' token
bug.cc:8: error: type/value mismatch at argument 1 in template parameter list
for 'template<<declaration error> > struct A'
bug.cc:8: error:   expected a constant of type '<type error>', got 'int'
bug.cc:8: error: expected unqualified-id before '<' token

Can anyone else confirm this?


-- 

lmillward at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lmillward at gcc dot gnu dot
                   |                            |org


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

Reply via email to