Skip to content

Commit 4cb303e

Browse files
Kodi ArferKodi Arfer
authored andcommitted
[S04-statements/terminator.t] Added a test for RT #79964.
1 parent 52c1e70 commit 4cb303e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

S04-statements/terminator.t

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use v6;
22

33
use Test;
44

5-
plan 14;
5+
plan 15;
66

77
# L<S04/"Statement-ending blocks"/"will terminate a statement">
88

@@ -54,4 +54,8 @@ eval_dies_ok "42 if 23\nis 50; 1",
5454
# not sure this belong here, suggestions for better places are welcome
5555
eval_dies_ok '(1) { $foo = 2 }', 'parens do not eat spaces after them';
5656

57+
# RT #79964
58+
#?rakudo todo 'RT #79964'
59+
eval_lives_ok "my &f;\nsub g() { }\n&f;", 'implicit terminator before & sigil';
60+
5761
# vim: ft=perl6

0 commit comments

Comments
 (0)