mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
13 lines
168 B
Plaintext
13 lines
168 B
Plaintext
module test;
|
|
|
|
fn void test()
|
|
{
|
|
int[3]! x;
|
|
int g;
|
|
foreach (z : x) // #error: The foreach iterable expression
|
|
{
|
|
g += z;
|
|
x[0] = 1;
|
|
}
|
|
}
|