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