blob: b89455a2a7d83e2c46144d4d27068a58e5968f97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// RUN: %dafny /compile:0 /print:"%t.print" /dprint:"%t.dprint" "%s" > "%t"
// RUN: %diff "%s.expect" "%t"
function KeepDoin'It(x: nat): nat
decreases x;
{
KeepDoin'It(x + 1)
}
lemma Test(r: nat)
{
assert KeepDoin'It(20) == r;
}
|