summaryrefslogtreecommitdiff
path: root/Test/test1/UpdateExprTyping.bpl.expect
diff options
context:
space:
mode:
authorGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-06 20:28:12 +0100
committerGravatar Dan Liew <daniel.liew@imperial.ac.uk>2014-05-06 20:28:12 +0100
commit6c78b619a18eadac82f4cb54d2c5bb5e8c0b547c (patch)
tree286a3dc1fbb1460ab375d53dcea84cfc73a4b6d2 /Test/test1/UpdateExprTyping.bpl.expect
parentd19da5e5ec8259f6b49ec4c3c6b28bf5c25e8f15 (diff)
Enabled lit tests for test1/ directory
Bizarely Array.bpl does not pass on Windows. This will be fixed soon.
Diffstat (limited to 'Test/test1/UpdateExprTyping.bpl.expect')
-rw-r--r--Test/test1/UpdateExprTyping.bpl.expect13
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/test1/UpdateExprTyping.bpl.expect b/Test/test1/UpdateExprTyping.bpl.expect
new file mode 100644
index 00000000..0cee7e03
--- /dev/null
+++ b/Test/test1/UpdateExprTyping.bpl.expect
@@ -0,0 +1,13 @@
+UpdateExprTyping.bpl(5,11): Error: invalid argument types ([int]bool and [int]ref) to binary operator ==
+UpdateExprTyping.bpl(6,11): Error: invalid argument types ([int]bool and [bool]bool) to binary operator ==
+UpdateExprTyping.bpl(9,16): Error: invalid type for argument 0 in map store: bool (expected: int)
+UpdateExprTyping.bpl(10,21): Error: right-hand side in map store with wrong type: int (expected: bool)
+UpdateExprTyping.bpl(11,11): Error: invalid argument types ([int]bool and [int]ref) to binary operator ==
+UpdateExprTyping.bpl(17,18): Error: invalid type for argument 0 in map store: ref (expected: int)
+UpdateExprTyping.bpl(18,20): Error: invalid type for argument 1 in map store: bool (expected: ref)
+UpdateExprTyping.bpl(19,28): Error: right-hand side in map store with wrong type: ref (expected: bool)
+UpdateExprTyping.bpl(34,2): Error: mismatched types in assignment command (cannot assign int to any)
+UpdateExprTyping.bpl(38,28): Error: right-hand side in map store with wrong type: ref (expected: any)
+UpdateExprTyping.bpl(40,27): Error: right-hand side in map store with wrong type: ref (expected: int)
+UpdateExprTyping.bpl(41,27): Error: right-hand side in map store with wrong type: int (expected: ref)
+12 type checking errors detected in UpdateExprTyping.bpl