lean4-htt/tests/lean/run/zeroExitPoints.lean
2022-09-24 08:13:17 -07:00

5 lines
165 B
Text

set_option trace.Compiler.result true
def f (x : Empty) (y : Nat) : Nat :=
let g (h : Unit → Empty) : Nat := h () |>.casesOn
let aux := g fun _ => x
y + aux