v/vlib/v/checker/tests/optional_index_err.vv

5 lines
65 B
V

fn main() {
v := 'hello'
println(v[v.last_index('l')])
}