mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
5 lines
172 B
Plaintext
5 lines
172 B
Plaintext
fn void test9()
|
||
{
|
||
foreach (int a : { [2] = 1 }) foo();
|
||
foreach (int a : { [2] = 2, 1 }) foo(); // #error: You’re using both named and unnamed values in the same
|
||
} |