v/cmd/tools/gen1m.v

19 lines
277 B
V
Raw Normal View History

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