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