Skip to content

Commit

Permalink
Added a test for RT #72898
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed Feb 20, 2011
1 parent 18d8c7f commit 5a414bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions S02-names/identifier.t
Expand Up @@ -83,6 +83,12 @@ plan 20;
is my($x), 22, 'call to sub named "my" works';
}

# RT #72898
{
sub loop($a) { $a + 1 }
is loop(5), 6, 'sub named "loop" works';
}

# RT #77218
# Rakudo had troubles with identifiers whos prefix is an alphanumeric infix
# operator; for example 'sub order' would fail because 'order' begins with
Expand Down

0 comments on commit 5a414bc

Please sign in to comment.