diff options
Diffstat (limited to 'spec/inputs/return.yue')
-rw-r--r-- | spec/inputs/return.yue | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/inputs/return.yue b/spec/inputs/return.yue index f170ffd..96fa0cd 100644 --- a/spec/inputs/return.yue +++ b/spec/inputs/return.yue | |||
@@ -49,6 +49,19 @@ do | |||
49 | else | 49 | else |
50 | b | 50 | b |
51 | 51 | ||
52 | do | ||
53 | return | ||
54 | :value | ||
55 | itemA: 123 | ||
56 | itemB: "abc" | ||
57 | |||
58 | do | ||
59 | return | ||
60 | * 1 | ||
61 | * 2 | ||
62 | * ...three | ||
63 | * 4 | ||
64 | |||
52 | _ = -> a\b | 65 | _ = -> a\b |
53 | do a\b | 66 | do a\b |
54 | 67 | ||