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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2004 19:58:34 -0000
- Subject: [Bug c++/9278] Illegal use of typedef to "void"
- References: <20030111195600.9278.dave@boost-consulting.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-14 19:58 -------
Okay, I read the core issue wrong.
But I should have said this is accepted but should not be:
typedef void type;
void f(type);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278