Files
c3c/test/test_suite/arrays/array_of_inferred_array.c3
Christoffer Lerno 4512c6446d - Empty struct after @if processing was not detected, causing a crash instead of an error.
- Comparing an uint and int[<4>] was incorrectly assumed to be uint compared to int, causing a crash instead of an error.
- When an `int[*][6]` was given too few values, the compiler would assert instead of giving an error.
2026-01-19 15:01:08 +01:00

8 lines
127 B
Plaintext

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