mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
19 lines
277 B
V
19 lines
277 B
V
fn main() {
|
|
println('fn print(a int) {}')
|
|
// println('fn println(a string) {}')
|
|
for i in 0 .. 100000 {
|
|
println('
|
|
fn foo${i}() {
|
|
x := $i
|
|
mut a := 1
|
|
a += 2
|
|
print(a)
|
|
a = 0
|
|
a = 1
|
|
}
|
|
')
|
|
}
|
|
// println('fn main() {foo1()} ')
|
|
println('fn main() { println("1m DONE") } ')
|
|
}
|