summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
authorGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-06-12 11:45:13 -0700
committerGravatar Clément Pit--Claudel <clement.pitclaudel@live.com>2015-06-12 11:45:13 -0700
commitce8e8a618315dd03f4762c261ed96e7815a976cf (patch)
tree961731996ff85c622f6b867434e8333fb7cdcc16 /Test
parent1b64a68eaa9013047ca3af9910f2fbc264e6f3ac (diff)
parent838c51d897d9daec2ee7b50a40b78c96cbfbf605 (diff)
Merge
Diffstat (limited to 'Test')
-rw-r--r--Test/irondafny0/optimize0.dfy6
-rw-r--r--Test/irondafny0/optimize0.dfy.expect6
2 files changed, 12 insertions, 0 deletions
diff --git a/Test/irondafny0/optimize0.dfy b/Test/irondafny0/optimize0.dfy
new file mode 100644
index 00000000..865d8707
--- /dev/null
+++ b/Test/irondafny0/optimize0.dfy
@@ -0,0 +1,6 @@
+// RUN: %dafny /compile:3 /optimize /print:"%t.print" /dprint:"%t.dprint" "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+method Main() {
+ print "o hai!";
+}
diff --git a/Test/irondafny0/optimize0.dfy.expect b/Test/irondafny0/optimize0.dfy.expect
new file mode 100644
index 00000000..6b3e13c5
--- /dev/null
+++ b/Test/irondafny0/optimize0.dfy.expect
@@ -0,0 +1,6 @@
+
+Dafny program verifier finished with 2 verified, 0 errors
+Program compiled successfully
+Running...
+
+o hai! \ No newline at end of file