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++/33101] [DR 577] allow typedefs for void in empty parameter list


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

--- Comment #17 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sat Jun 14 22:55:40 2014
New Revision: 211673

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

    PR c++/33101
    * decl.c (grokparms): Improve error message about void parameters.
    * error.c (type_to_string): Fix aka cut off code.

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

    PR c++/33101
    * g++.dg/other/void3.C: New.
    * g++.dg/conversion/err-recover1.C: Update.

Added:
    trunk/gcc/testsuite/g++.dg/other/void3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/conversion/err-recover1.C


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