diff options
Diffstat (limited to 'Test')
-rw-r--r-- | Test/dafny4/Bug113.dfy | 10 | ||||
-rw-r--r-- | Test/dafny4/Bug113.dfy.expect | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Test/dafny4/Bug113.dfy b/Test/dafny4/Bug113.dfy new file mode 100644 index 00000000..8f5ddf9f --- /dev/null +++ b/Test/dafny4/Bug113.dfy @@ -0,0 +1,10 @@ +// RUN: %dafny /compile:3 "%s" > "%t"
+// RUN: %diff "%s.expect" "%t"
+
+datatype D = D(q:int, r:int, s:int, t:int)
+
+method Main()
+{
+ print D(10, 20, 30, 40);
+ print "\n";
+}
\ No newline at end of file diff --git a/Test/dafny4/Bug113.dfy.expect b/Test/dafny4/Bug113.dfy.expect new file mode 100644 index 00000000..c4be010e --- /dev/null +++ b/Test/dafny4/Bug113.dfy.expect @@ -0,0 +1,6 @@ +
+Dafny program verifier finished with 2 verified, 0 errors
+Program compiled successfully
+Running...
+
+D.D(10, 20, 30, 40) |