diff options
Diffstat (limited to 'Test/dafny0/TailCalls.dfy')
-rw-r--r-- | Test/dafny0/TailCalls.dfy | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/dafny0/TailCalls.dfy b/Test/dafny0/TailCalls.dfy index 41a8c49b..ba683679 100644 --- a/Test/dafny0/TailCalls.dfy +++ b/Test/dafny0/TailCalls.dfy @@ -1,3 +1,6 @@ +// RUN: %dafny /compile:0 /print:"%t.print" /dprint:"%t.dprint" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
method {:tailrecursion} A(q: int) returns (x: int, ghost y: bool, z: nat)
{
if (q < 10) {
|