]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/9278 (Illegal use of typedef to "void")
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Fri, 25 Nov 2005 14:59:09 +0000 (14:59 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Fri, 25 Nov 2005 14:59:09 +0000 (14:59 +0000)
commite7e531924324c744fd5bce4aef999ad99fbc8f61
treedce122d4f6cef385b2cf791a769d7cf82e664eff
parentdd6f2a43780177ecf4f55585ec19c49abfffbe5e
re PR c++/9278 (Illegal use of typedef to "void")

PR c++/9278
* decl.c (grokparms): Do not allow typedef-names in a '(void)'
parmlist.

* g++.dg/other/void1.C: New test.

From-SVN: r107508
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/void1.C [new file with mode: 0644]