I get:

$ cat t.c
struct {
  struct { int i; float f; } u;
} x = { (3) };
$ tcc t.c
t.c:3: error: cast expected

I think this error is wrong. It should initialize x.u.i to be 3.

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