1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/cmd/tools/gen1m.v

17 lines
213 B
V
Raw Permalink Normal View History

fn main() {
for i in 0 .. 100000 {
println('
fn foo${i}() {
x := ${i}
mut a := 1 + x
a += 2
2020-07-09 12:56:31 +03:00
print(a)
a = 0
a = 1
}
')
}
// println('fn main() {foo1()} ')
2020-07-09 12:56:31 +03:00
println('fn main() { println("1m DONE") } ')
}