forked from Mirrors/tinycc
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>master
parent
a465b7f58f
commit
0f522fb32a