Skip to content

Commit

Permalink
RT #73502, @_ in the mainline
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 3, 2012
1 parent 8b33523 commit d5ac5a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -51,6 +51,8 @@ throws_like 'do { $^x }', X::Placeholder::Block, placeholder => '$^x';
throws_like 'do { @_ }', X::Placeholder::Block, placeholder => '@_';
throws_like 'class { $^x }', X::Placeholder::Block, placeholder => '$^x';
throws_like '$^x', X::Placeholder::Mainline, placeholder => '$^x';
# RT #73502
throws_like '@_', X::Placeholder::Mainline, placeholder => '@_';
throws_like 'sub f(*@a = 2) { }', X::Parameter::Default, how => 'slurpy';
throws_like 'sub f($x! = 3) { }', X::Parameter::Default, how => 'required';
throws_like 'sub f(:$x! = 3) { }', X::Parameter::Default, how => 'required';
Expand Down

0 comments on commit d5ac5a6

Please sign in to comment.