summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorKathy Gray2014-07-04 14:53:27 +0100
committerKathy Gray2014-07-04 14:53:36 +0100
commit04934f061ed5dac10d112bdfd3fcbec7e8849dc3 (patch)
treeeca24ea71463593a77c5acec6129bb39b6b056a2 /src/test
parent8522c1dbf5fc7b739a89873a1d86d45b11bc136f (diff)
Correct error of forgetting type information that was allowing more programs than it should have
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test3.sail2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test3.sail b/src/test/test3.sail
index 3a806f41..e2dbe2f3 100644
--- a/src/test/test3.sail
+++ b/src/test/test3.sail
@@ -27,7 +27,7 @@ function nat main _ = {
(* XXX this one is broken - I don't what it should do,
or even if we should accept it, but the current result
is to eat up one bit, ending up with a 7-bit word. *)
- (MEM_WORD(0))[4..3] := 0b10;
+ (*(MEM_WORD(0))[4..3] := 0b10;*) (*We reject this as 4 > 3 not <= *)
ignore(MEM_WORD(0));
(* infix call *)