10_goto directory created

This commit is contained in:
Vinicius Silva 2023-12-29 01:03:03 -03:00
parent f7173332b0
commit 62e0326bc9
1 changed files with 15 additions and 0 deletions

15
10_goto/main.v Normal file
View File

@ -0,0 +1,15 @@
pub fn main(){
x := true
y := false
if x {
if !y {
unsafe { goto my_label }
}
return
}
my_label:
println('oi')
}