Permalink
Browse files

RT #73502, @_ in the mainline

  • Loading branch information...
1 parent 8b33523 commit d5ac5a66beba048a50f366d7b281d7c3bf08bb39 @moritz moritz committed Feb 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 S32-exceptions/misc.t
View
@@ -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';

0 comments on commit d5ac5a6

Please sign in to comment.