summaryrefslogtreecommitdiffstats
path: root/tests/14-fun.sml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/14-fun.sml')
-rw-r--r--tests/14-fun.sml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/14-fun.sml b/tests/14-fun.sml
new file mode 100644
index 0000000..210b30d
--- /dev/null
+++ b/tests/14-fun.sml
@@ -0,0 +1,3 @@
+fun f x y = __builtin "exit" (__builtin "sub" (x, y))
+
+val _ = f 60 18