I get:

$ cat t.c
typedef int x;
int f(void) { x: return 0; }
$ tcc t.c
t.c:2: error: identifier expected

I think tcc is wrong to report an error here, because typedefs and
labels are in separate name spaces (see C99 6.2.3 Name spaces of
identifiers).

I'm using tcc built from the git repository a few minutes ago, on
Ubuntu 11.04 x86_64.

Thanks,
Jay.

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

Reply via email to