In this example I get a spurious error, but only when I elide some
braces *and* put parentheses around the literal:

$ cat a.c
struct {
  struct {
    int i;
  } a;
} x = {
  (3)
};
$ ./tcc a.c
a.c:6: error: cast expected

Jay.

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

Reply via email to