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
df8a4a03a0
v
/
vlib
/
v
/
tests
/
goto_test.v
14 lines
110 B
V
Raw
Blame
History
fn
test_goto
(
)
{
mut
i
:=
0
a
:
b
:=
1
_
=
b
i
++
if
i
<
3
{
unsafe
{
goto
a
}
}
assert
i
==
3
}
Reference in New Issue
View Git Blame
Copy Permalink