mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Remove `[?]` syntax. - Change `int!` to `int?` syntax. - New `fault` declarations. - Enum associated values can reference the calling enum.
17 lines
193 B
Plaintext
17 lines
193 B
Plaintext
struct Abc
|
|
{
|
|
Foo[4] x; // #error: Arrays of structs with flexible array members
|
|
}
|
|
|
|
struct Foo
|
|
{
|
|
int a;
|
|
int[*] x;
|
|
}
|
|
|
|
struct Foo2
|
|
{
|
|
int a;
|
|
int[*] x, y; // #error: must be the last element
|
|
}
|