summaryrefslogtreecommitdiff
path: root/test/ocaml/string_equality
diff options
context:
space:
mode:
authorAlasdair Armstrong2017-09-01 14:27:34 +0100
committerAlasdair Armstrong2017-09-01 14:27:34 +0100
commit4878a4706e276b8d1aa8a6808e88faeba7789049 (patch)
tree793108c995866adb79082d6d0d36d241d3bd60f2 /test/ocaml/string_equality
parent7e143cc0d5040ebfa9983be58ab66a83eee04573 (diff)
Started work on test suite for ocaml backend
Diffstat (limited to 'test/ocaml/string_equality')
-rw-r--r--test/ocaml/string_equality/expect1
-rw-r--r--test/ocaml/string_equality/string_equality.sail10
2 files changed, 11 insertions, 0 deletions
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")
+ }
+}