mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-12-09 17:12:59 +00:00
Forbid enum redefinition.
Prevent the following code from compiling:
enum color {RED, GREEN, BLUE};
enum color {R, G, B};
int main()
{
return R;
}
Reported-by: John Haque <j.eh@mchsi.com>
This commit is contained in: