aboutsummaryrefslogtreecommitdiffstats
path: root/progs/tests/func/one_arg.sy
diff options
context:
space:
mode:
Diffstat (limited to 'progs/tests/func/one_arg.sy')
-rw-r--r--progs/tests/func/one_arg.sy5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/tests/func/one_arg.sy b/progs/tests/func/one_arg.sy
new file mode 100644
index 0000000..e7dee83
--- /dev/null
+++ b/progs/tests/func/one_arg.sy
@@ -0,0 +1,5 @@
+start :: fn {
+ f := fn a:int { a <=> 1 }
+ f! 1
+
+}