[Bug c++/33101] [DR 577] allow typedefs for void in empty parameter list

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 23 17:06:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33101

--- Comment #20 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Mon Jun 23 17:05:33 2014
New Revision: 211906

URL: https://gcc.gnu.org/viewcvs?rev=211906&root=gcc&view=rev
Log:
/cp
2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>

    DR 577
    PR c++/33101
    * decl.c (grokparms): Accept a single parameter of type 'void'.

/testsuite
2014-06-23  Paolo Carlini  <paolo.carlini@oracle.com>

    DR 577
    PR c++/33101
    * g++.dg/other/void1.C: Adjust.
    * g++.dg/other/void3.C: Likewise.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/other/void1.C
    trunk/gcc/testsuite/g++.dg/other/void3.C



More information about the Gcc-bugs mailing list