mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
17 lines
158 B
V
17 lines
158 B
V
|
fn main() {
|
||
|
for i in 0..10000 {
|
||
|
println('
|
||
|
fn foo${i}() {
|
||
|
x := $i
|
||
|
mut a := x
|
||
|
a += 2
|
||
|
println(a)
|
||
|
a = 0
|
||
|
a = 1
|
||
|
}
|
||
|
')
|
||
|
}
|
||
|
println('fn main() {foo1()} ')
|
||
|
|
||
|
}
|