diff options
| author | jp | 2020-02-12 17:46:48 +0000 |
|---|---|---|
| committer | jp | 2020-02-12 17:46:48 +0000 |
| commit | ed8bccd927306551f93d5aab8d0e2a92b9e5d227 (patch) | |
| tree | 55bf788c8155f0c7d024f2147f5eb3873729b02a /test/c/bitvector_update.sail | |
| parent | 31a65c9b7383d2a87da0fbcf5c265d533146ac23 (diff) | |
| parent | 4a72cb8084237161d0bccc66f27d5fb6d24315e0 (diff) | |
Merge branch 'sail2' of https://github.com/rems-project/sail into sail2
Diffstat (limited to 'test/c/bitvector_update.sail')
| -rw-r--r-- | test/c/bitvector_update.sail | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/c/bitvector_update.sail b/test/c/bitvector_update.sail new file mode 100644 index 00000000..6f506e23 --- /dev/null +++ b/test/c/bitvector_update.sail @@ -0,0 +1,13 @@ +default Order dec +$include <prelude.sail> + +val "print_endline" : string -> unit + +function main() -> unit = { + let x = bitzero; + let y = bitone; + let z = bitzero; + let bv = [x, y, z]; + assert(bv == 0b010); + print_endline("ok") +}
\ No newline at end of file |
