Files
c3c/test/test_suite/expressions/fail_index_usize.c3
2024-10-04 20:50:48 +02:00

6 lines
110 B
Plaintext

fn void test(int* array, usz n)
{
array[n] = 33;
n[array] = 33; // #error: Indexing a value of type
}