summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2024-05-05 21:12:16 -0700
committerRose Hogenson <rosehogenson@posteo.net>2024-05-05 21:12:16 -0700
commit457c482397e2ca745067e5a3ef2c7d71d7daf187 (patch)
treeaef2b8d88421829105a3c6b8887d8ffde39d5e1e /tests
parentChange some formatting (diff)
downloadsml-457c482397e2ca745067e5a3ef2c7d71d7daf187.tar.zst
Add tuples.
Diffstat (limited to 'tests')
-rw-r--r--tests/15-tuple.sml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/15-tuple.sml b/tests/15-tuple.sml
new file mode 100644
index 0000000..114fd25
--- /dev/null
+++ b/tests/15-tuple.sml
@@ -0,0 +1,3 @@
+fun f (x, y) = __builtin "exit" (__builtin "add" (x, y))
+
+val _ = f (40, 2)