aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs/syntax.yue
diff options
context:
space:
mode:
Diffstat (limited to 'spec/inputs/syntax.yue')
-rw-r--r--spec/inputs/syntax.yue11
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue
index 1e01a26..4f693d4 100644
--- a/spec/inputs/syntax.yue
+++ b/spec/inputs/syntax.yue
@@ -449,5 +449,16 @@ do
449 ,f 4, \ 449 ,f 4, \
450 4 450 4
451 451
452do
453 f = (
454 a -- param a
455 b -- param b
456 )-> a + b
457 f(
458 a -- value a
459 b -- value b
460 )
461 f !
462
452nil 463nil
453 464