v/vlib/v/tests/parser_line_test.v

10 lines
129 B
V

fn test_name_lpar() {
mut v := 2
// check ParExpr is parsed, not CallExpr
mut p := &v
(*p)++
_ = v
(*p)++
assert v == 4
}