2020-01-06 23:15:37 +01:00
|
|
|
fn main() {
|
2020-10-15 15:17:52 +02:00
|
|
|
for i in 0 .. 100000 {
|
2020-01-06 23:15:37 +01:00
|
|
|
println('
|
|
|
|
fn foo${i}() {
|
|
|
|
x := $i
|
2021-08-15 15:04:45 +02:00
|
|
|
mut a := 1 + x
|
2020-01-06 23:15:37 +01:00
|
|
|
a += 2
|
2020-07-09 11:56:31 +02:00
|
|
|
print(a)
|
2020-01-06 23:15:37 +01:00
|
|
|
a = 0
|
|
|
|
a = 1
|
|
|
|
}
|
|
|
|
')
|
|
|
|
}
|
2020-10-15 15:17:52 +02:00
|
|
|
// println('fn main() {foo1()} ')
|
2020-07-09 11:56:31 +02:00
|
|
|
println('fn main() { println("1m DONE") } ')
|
2020-01-06 23:15:37 +01:00
|
|
|
}
|