mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
13 lines
102 B
V
13 lines
102 B
V
fn test1() int {
|
|
defer {
|
|
return 12
|
|
}
|
|
a := 3
|
|
return a
|
|
}
|
|
|
|
fn main() {
|
|
x := test1()
|
|
println(x)
|
|
}
|