diff options
author | 2015-06-12 11:45:13 -0700 | |
---|---|---|
committer | 2015-06-12 11:45:13 -0700 | |
commit | ce8e8a618315dd03f4762c261ed96e7815a976cf (patch) | |
tree | 961731996ff85c622f6b867434e8333fb7cdcc16 /Test | |
parent | 1b64a68eaa9013047ca3af9910f2fbc264e6f3ac (diff) | |
parent | 838c51d897d9daec2ee7b50a40b78c96cbfbf605 (diff) |
Merge
Diffstat (limited to 'Test')
-rw-r--r-- | Test/irondafny0/optimize0.dfy | 6 | ||||
-rw-r--r-- | Test/irondafny0/optimize0.dfy.expect | 6 |
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 |