From 4878a4706e276b8d1aa8a6808e88faeba7789049 Mon Sep 17 00:00:00 2001 From: Alasdair Armstrong Date: Fri, 1 Sep 2017 14:27:34 +0100 Subject: Started work on test suite for ocaml backend --- test/ocaml/string_equality/expect | 1 + test/ocaml/string_equality/string_equality.sail | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 test/ocaml/string_equality/expect create mode 100644 test/ocaml/string_equality/string_equality.sail (limited to 'test/ocaml/string_equality') diff --git a/test/ocaml/string_equality/expect b/test/ocaml/string_equality/expect new file mode 100644 index 00000000..27ba77dd --- /dev/null +++ b/test/ocaml/string_equality/expect @@ -0,0 +1 @@ +true diff --git a/test/ocaml/string_equality/string_equality.sail b/test/ocaml/string_equality/string_equality.sail new file mode 100644 index 00000000..68629862 --- /dev/null +++ b/test/ocaml/string_equality/string_equality.sail @@ -0,0 +1,10 @@ + +val unit -> unit effect pure main + +function main () = { + if ("test" == "test") then { + print("true") + } else { + print("false") + } +} -- cgit v1.2.3