summaryrefslogtreecommitdiffstats
path: root/tests/04-val.sml
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2024-04-07 09:11:28 -0700
committerRose Hogenson <rosehogenson@posteo.net>2024-04-07 09:11:28 -0700
commit278ee46f0fa93a3db4ebdc6878fcd9b1d990094a (patch)
tree85cd7b4703cacea8111ea05766089ca73aac9abb /tests/04-val.sml
parentSupport function arguments. (diff)
downloadsml-278ee46f0fa93a3db4ebdc6878fcd9b1d990094a.tar.zst
Add tests and fix variables.
Diffstat (limited to 'tests/04-val.sml')
-rw-r--r--tests/04-val.sml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/04-val.sml b/tests/04-val.sml
new file mode 100644
index 0000000..20d07b4
--- /dev/null
+++ b/tests/04-val.sml
@@ -0,0 +1,2 @@
+val x = 42
+val _ = __builtin "exit" x