lean4-htt/tests/lean/run/bigmul.lean
Leonardo de Moura e4a3b434d7 chore: moving tests to new frontend
@Kha The transition has begun :)
I found and fixed a few bugs, but it is going well so far.
2020-09-10 18:00:34 -07:00

13 lines
242 B
Text

new_frontend
@[noinline] def f (x : Nat) :=
1000000000000000000000000000000
@[noinline] def tst1 (n : Nat) : IO Unit := do
IO.println (n * f n)
@[noinline] def tst2 (n : Nat) : IO Unit := do
IO.println (f n * n)
#eval tst1 0
#eval tst2 0