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++/9278] Illegal use of typedef to "void"



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


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