mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
17 lines
160 B
Plaintext
17 lines
160 B
Plaintext
module test;
|
|
|
|
struct Struct
|
|
{
|
|
int field;
|
|
}
|
|
|
|
fn int main()
|
|
{
|
|
Struct[4] arr;
|
|
|
|
arr[1] = {.field = 1};
|
|
arr[1..2] = {1};
|
|
arr[1..2] = {.field = 1};
|
|
return 0;
|
|
}
|