2020-01-07 01:15:37 +03:00
|
|
|
fn main() {
|
2020-07-09 12:56:31 +03:00
|
|
|
println('fn print(a int) {}')
|
2020-10-15 16:17:52 +03:00
|
|
|
// println('fn println(a string) {}')
|
|
|
|
for i in 0 .. 100000 {
|
2020-01-07 01:15:37 +03:00
|
|
|
println('
|
|
|
|
fn foo${i}() {
|
|
|
|
x := $i
|
2020-07-09 12:56:31 +03:00
|
|
|
mut a := 1
|
2020-01-07 01:15:37 +03:00
|
|
|
a += 2
|
2020-07-09 12:56:31 +03:00
|
|
|
print(a)
|
2020-01-07 01:15:37 +03:00
|
|
|
a = 0
|
|
|
|
a = 1
|
|
|
|
}
|
|
|
|
')
|
|
|
|
}
|
2020-10-15 16:17:52 +03:00
|
|
|
// println('fn main() {foo1()} ')
|
2020-07-09 12:56:31 +03:00
|
|
|
println('fn main() { println("1m DONE") } ')
|
2020-01-07 01:15:37 +03:00
|
|
|
}
|