lean4-htt/tests/compiler/StackOverflow.lean
2020-05-04 11:11:11 +02:00

3 lines
104 B
Text

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