https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67432
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Author: mpolacek Date: Wed Sep 2 21:00:38 2015 New Revision: 227421 URL: https://gcc.gnu.org/viewcvs?rev=227421&root=gcc&view=rev Log: PR c/67432 * c-parser.c (c_parser_enum_specifier): Give a better error for an empty enum. * gcc.dg/pr67432.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr67432.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-parser.c trunk/gcc/testsuite/ChangeLog