summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorKathy Gray2014-01-17 19:53:33 +0000
committerKathy Gray2014-01-17 19:53:46 +0000
commit9ee67ed106808b5e82d5942e4d782fbf8cd133cd (patch)
tree60e32496edc0d49ba99d68739db52c375cdad16c /src/test
parent828f19828e41ced146f06e9a7eb4183cd9ef3ab4 (diff)
Type check through type definitions and val specifications, building definition environment. Skipping function definition, let bind, and expression checking for this commit (to come).
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test1.sail2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test1.sail b/src/test/test1.sail
index 3580f3e6..78258929 100644
--- a/src/test/test1.sail
+++ b/src/test/test1.sail
@@ -8,7 +8,7 @@ typedef int_list [name = "il"] = list<nat>
typedef reco = const struct forall 'i, 'a, 'b. { 'a['i] v; 'b w; }
typedef maybe = const union forall 'a. { Nne; 'a Sme; }
typedef colors = enumerate { red; green; blue }
-typedef creg = register bits [5:'i] { 5 : h ; 6..7 : j}
+typedef creg = register bits [5:10] { 5 : h ; 6..7 : j}
let bool e = true
let bit v = bitzero
let ( bit [ 32 ] ) v1 = 0b101