struct S1 {}

[unsafe]
fn (s S1) f(){}

fn test_funcs() {
    s := S1{}
    s.f()
}

fn test_ptr_index(mut a []string) {
	_ = a[0] // OK
	b := ['jo']
	_ = b[0] // OK
	c := &b
	_ = c[0]

    v := 4
    p := &v
    _ = p[0]
}
