Skip to content

Commit

Permalink
[S04-statements/terminator.t] Added a test for RT #79964.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodi Arfer authored and Kodi Arfer committed Nov 29, 2010
1 parent 52c1e70 commit 4cb303e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S04-statements/terminator.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 14;
plan 15;

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

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

# RT #79964
#?rakudo todo 'RT #79964'
eval_lives_ok "my &f;\nsub g() { }\n&f;", 'implicit terminator before & sigil';

# vim: ft=perl6

0 comments on commit 4cb303e

Please sign in to comment.