[Bug c++/46005] Don't allow "auto" as the simple-type-specifier of a typedef

schwab@linux-m68k.org gcc-bugzilla@gcc.gnu.org
Wed Oct 13 15:12:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46005

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2010-10-13 15:12:13 UTC ---
I'm getting 'error: ‘autot’ does not name a type' with both current trunk and
4.5.  4.4 gives "error: conflicting specifiers in declaration of ‘autot’" which
is the better error message (which you get also with trunk and 4.5 with
"typedef auto int autot;").



More information about the Gcc-bugs mailing list