1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/cmd/tools/gen1m.v
Alexander Medvednikov dfa29b6e4d fast: fix 1mil.v test
2020-07-09 11:56:31 +02:00

20 lines
274 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") } ')
}