summaryrefslogtreecommitdiff
path: root/Test/generalizedarray
diff options
context:
space:
mode:
authorGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-07 20:28:52 +0100
committerGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-07 20:28:52 +0100
commitd2fd2f20aa92844f816e013806c05ba893157aa1 (patch)
tree5115c20df78d6e799ce412c5228984d5b4f2c6fd /Test/generalizedarray
parent6e432c44193931690a8992df2713a160e7548531 (diff)
Enabled generalizedarray lit test.
Diffstat (limited to 'Test/generalizedarray')
-rw-r--r--Test/generalizedarray/Maps.bpl2
-rw-r--r--Test/generalizedarray/Maps.bpl.expect2
2 files changed, 4 insertions, 0 deletions
diff --git a/Test/generalizedarray/Maps.bpl b/Test/generalizedarray/Maps.bpl
index 69aa86b0..f240bbc7 100644
--- a/Test/generalizedarray/Maps.bpl
+++ b/Test/generalizedarray/Maps.bpl
@@ -1,3 +1,5 @@
+// RUN: %boogie -typeEncoding:m -useArrayTheory %s > %t
+// RUN: %diff %s.expect %t
type X;
function {:builtin "MapAdd"} mapadd([X]int, [X]int) : [X]int;
diff --git a/Test/generalizedarray/Maps.bpl.expect b/Test/generalizedarray/Maps.bpl.expect
new file mode 100644
index 00000000..37fad75c
--- /dev/null
+++ b/Test/generalizedarray/Maps.bpl.expect
@@ -0,0 +1,2 @@
+
+Boogie program verifier finished with 1 verified, 0 errors