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.yue18
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/inputs/syntax.yue b/spec/inputs/syntax.yue
index d60a145..271f43f 100644
--- a/spec/inputs/syntax.yue
+++ b/spec/inputs/syntax.yue
@@ -460,5 +460,23 @@ do
460 ) 460 )
461 f ! 461 f !
462 462
463do
464 if cond
465 --
466 else
467 --
468
469 switch cond
470 when 1
471 --
472 when 2
473 --
474 else
475 --
476
477 f1 = -> --
478 f2 = ->
479 --
480
463nil 481nil
464 482