This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11857] Array of T=void allowed as function parameter type when T is a template parameter
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Aug 2003 20:20:01 -0000
- Subject: [Bug c++/11857] Array of T=void allowed as function parameter type when T is a template parameter
- References: <20030808201321.11857.gccbugs@contacts.eelis.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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)'