blob: 19b909d76ce2dea06257c3bbfd4299803888b9b4 [file] [edit]
def g (x : Nat) (y : Nat) : Nat :=
if x < y then
2 * g (x-1) y -- Error here
else
0
termination_by x