Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
parser
/
tests
/
postfix_err_a.vv
10
lines
·
9
sloc
·
107 bytes
·
0c8ce3bcb9fd4a2e5bd5f991a5a07da976d780d7
Raw
1
fn f(i int) {}
2
3
fn test_postfix() {
4
mut x := 1
5
_ = (x++)
6
x--, x-- // OK
7
f(x++)
8
a := [x]
9
_ = a[x--]
10
}
11