summaryrefslogtreecommitdiff
path: root/Test/VSComp2010/Problem1-SumMax.dfy
diff options
context:
space:
mode:
Diffstat (limited to 'Test/VSComp2010/Problem1-SumMax.dfy')
-rw-r--r--Test/VSComp2010/Problem1-SumMax.dfy3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/VSComp2010/Problem1-SumMax.dfy b/Test/VSComp2010/Problem1-SumMax.dfy
index 3db9bf72..d7989539 100644
--- a/Test/VSComp2010/Problem1-SumMax.dfy
+++ b/Test/VSComp2010/Problem1-SumMax.dfy
@@ -1,3 +1,6 @@
+// RUN: %dafny /compile:0 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
// VSComp 2010, problem 1, compute the sum and max of the elements of an array and prove
// that 'sum <= N * max'.
// Rustan Leino, 18 August 2010.