v2 / vlib / v / checker / tests / addr_of_invalid_expr.out
6 lines · 6 sloc · 193 bytes · 3b31699a0d65489e253ff1752a58919d22ababce
Raw
1vlib/v/checker/tests/addr_of_invalid_expr.vv:3:9: error: cannot take the address of this expression
2 1 | fn main() {
3 2 | a := 1
4 3 | _ := &(&a)
5 | ^
6 4 | }
7