Files
c3c/test/test_suite/arrays/slice_no_overload.c3

8 lines
137 B
Plaintext

import std;
fn int main()
{
List {int} int_list;
int[] int_slice = int_list[..]; // #error: You cannot slice 'List{int}'
return 0;
}