lean4-htt/tests/compiler/StackOverflow.lean
2022-10-19 09:28:08 -07:00

3 lines
105 B
Text

partial def foo : Nat → Nat | n => foo n + 1
@[never_extract]
def main : IO Unit := IO.println $ foo 0