ref: d27d299ee050ee5a26d277cbf9839a7d3eb2fb14
parent: 8f51e18e15eac2e434a0f51cf788d3b6b621566c
author: Roberto E. Vargas Caballero <[email protected]>
date: Sat Aug 8 08:09:15 EDT 2015
Fix test of unexpected name in type name The test were inverted.
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -423,7 +423,7 @@
{
if (sclass)
error("class storage in type name");
- if (!sym->name)
+ if (sym->name)
error("unexpected identifier in type name");
}