This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/9278] Illegal use of typedef to "void"
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Nov 2005 14:59:15 -0000
- Subject: [Bug c++/9278] Illegal use of typedef to "void"
- References: <bug-9278-501@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #18 from reichelt at gcc dot gnu dot org 2005-11-25 14:59 -------
Subject: Bug 9278
Author: reichelt
Date: Fri Nov 25 14:59:09 2005
New Revision: 107508
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107508
Log:
PR c++/9278
* decl.c (grokparms): Do not allow typedef-names in a '(void)'
parmlist.
* g++.dg/other/void1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/other/void1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278