This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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)'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]