Files
c3c/test/test_suite/statements/foreach_with_error.c3

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;
}
}