This website requires JavaScript.
Explore
Help
Sign In
vieter-v
/
v
Watch
2
Star
0
Fork
You've already forked v
0
Code
Issues
Pull Requests
Releases
Activity
4b48bece20
v
/
vlib
/
v
/
checker
/
tests
/
immutable_arg.vv
15 lines
105 B
V
Raw
Blame
History
struct
St
{
mut
:
e
int
}
fn
f
(
mut
x
St
)
{
x
.
e
++
println
(
x
)
}
fn
main
(
)
{
a
:=
St
{
e
:
2
}
f
(
mut
a
)
}
Reference in New Issue
View Git Blame
Copy Permalink