summaryrefslogtreecommitdiff
path: root/Test/VSComp2010/Problem3-FindZero.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/VSComp2010/Problem3-FindZero.dfy')
-rw-r--r--Test/VSComp2010/Problem3-FindZero.dfy3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/VSComp2010/Problem3-FindZero.dfy b/Test/VSComp2010/Problem3-FindZero.dfy
index 3d24255d..61bb2e3a 100644
--- a/Test/VSComp2010/Problem3-FindZero.dfy
+++ b/Test/VSComp2010/Problem3-FindZero.dfy
@@ -1,3 +1,6 @@
+// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
// VSComp 2010, problem 3, find a 0 in a linked list and return how many nodes were skipped
// until the first 0 (or end-of-list) was found.
// Rustan Leino, 18 August 2010.