mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
9 lines
144 B
Plaintext
9 lines
144 B
Plaintext
module ccc;
|
|
|
|
fn int main()
|
|
{
|
|
int[3] abc = {1, 2, 3};
|
|
abc[1:3]; // #error: End index out of bounds, was 3, exceeding max index 2.
|
|
return 0;
|
|
}
|