mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
10 lines
129 B
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
|
|
}
|