[Bug c++/11857] Array of T=void allowed as function parameter type when T is a template parameter

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Aug 8 20:20:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-08 20:20:00
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-08 20:20 -------
I can confirm this on the mainline (20030808) and 3.3.1 (20030707) and 2.95.3.
I do not know if this counts as a regression because 2.91.66 rejected this code with:
pr11857.cc: In function `void g()':
pr11857.cc:2: no matching function for call to `f (int)'



More information about the Gcc-bugs mailing list