diff options
| author | Alasdair Armstrong | 2017-12-07 19:53:14 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2017-12-07 19:53:14 +0000 |
| commit | 47f1892406b5c10d06eb99af40d4523b93b2f254 (patch) | |
| tree | 01fc4efa482356a6bdaeec91d90210b954c54e6d /test/ocaml/void | |
| parent | 13b74fe751508f214bfa5bde59553e25b01aa270 (diff) | |
More OCaml test cases
Improved handling of try/catch
Better handling of unprovable constraints when the environment contains
false
Diffstat (limited to 'test/ocaml/void')
| -rw-r--r-- | test/ocaml/void/expect | 1 | ||||
| -rw-r--r-- | test/ocaml/void/void.sail | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/ocaml/void/expect b/test/ocaml/void/expect new file mode 100644 index 00000000..559bf40a --- /dev/null +++ b/test/ocaml/void/expect @@ -0,0 +1 @@ +Before diff --git a/test/ocaml/void/void.sail b/test/ocaml/void/void.sail new file mode 100644 index 00000000..485ac019 --- /dev/null +++ b/test/ocaml/void/void.sail @@ -0,0 +1,14 @@ + +val void : forall 'n, 'n = 'n + 1. atom('n) -> unit + +function void _ = () + +val main : unit -> unit + +function main () = { + print("Before"); + if false then { + print("After"); + void(0); + } +}
\ No newline at end of file |
