summaryrefslogtreecommitdiff
path: root/Test/dafny2/TreeFill.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/dafny2/TreeFill.dfy')
-rw-r--r--Test/dafny2/TreeFill.dfy3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/dafny2/TreeFill.dfy b/Test/dafny2/TreeFill.dfy
index 3328aca9..fdd73a1a 100644
--- a/Test/dafny2/TreeFill.dfy
+++ b/Test/dafny2/TreeFill.dfy
@@ -1,3 +1,6 @@
+// RUN: %dafny /compile:0 /dprint:"%t.dprint" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
datatype Tree<T> = Leaf | Node(Tree, T, Tree)
function Contains<T>(t: Tree, v: T): bool