10_goto directory created
This commit is contained in:
parent
f7173332b0
commit
62e0326bc9
|
|
@ -0,0 +1,15 @@
|
|||
pub fn main(){
|
||||
|
||||
x := true
|
||||
y := false
|
||||
|
||||
if x {
|
||||
if !y {
|
||||
unsafe { goto my_label }
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
my_label:
|
||||
println('oi')
|
||||
}
|
||||
Loading…
Reference in New Issue