lean4-htt/tests/lean/run/emptyLcnf.lean
2022-09-23 05:50:02 -07:00

9 lines
155 B
Text

import Lean
inductive MyEmpty
def f (x : MyEmpty) : Nat :=
MyEmpty.casesOn x
set_option trace.Compiler.result true
#eval Lean.Compiler.compile #[``f]