tccgen.c: Allow type attributes to prefix enum/struct/union name

From gcc docs: "You may also specify attributes between the enum, struct or union tag and the name of the type rather than after the closing brace."

Adds `82_attribs_position.c` in `tests/tests2`
This commit is contained in:
Vlad Vissoultchev
2016-04-04 15:30:26 +03:00
parent effc7d9ed4
commit 0691b7630b
3 changed files with 28 additions and 10 deletions

View File