v/vlib/compiler/tests/repl/postfix_operators.repl

12 lines
64 B
Plaintext

mut a := 2
a++
a
println(a)
println(a++)
a
===output===
3
3
3
3