Files
c3c/test/test_suite/arrays/array_of_inferred_array.c3
Samuel fac9054f1b Fix array initializer analysis (#2925)
* Fix array initializer analysis: improved semantic checking for arrays with inferred or fixed length,
* Update phrasing

---------

Co-authored-by: Christoffer Lerno <christoffer@aegik.com>
2026-02-13 23:38:07 +01:00

8 lines
144 B
Plaintext

import std;
macro void test(int[2][6] a)
{
}
fn void main()
{
test({ { 1, 2 } }); // #error: Too few (1) elements in initializer, expected 6
}