lean4-htt/tests/compiler/StackOverflow.lean
2021-01-27 14:45:31 +01:00

3 lines
104 B
Text

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