tcc complains about the redefinition of FOO, but it should allow it
because the second definition is in an inner scope:

$ cat e.c
enum { FOO = 1 };
void f() { enum { FOO = 2 }; }
$ ./tcc e.c
e.c:2: error: redefinition of enumerator 'FOO'

Jay.

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to