Skip to content
Browse files

[t/spec] Test for RT #65324

git-svn-id: http://svn.pugscode.org/pugs@28747 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent add4987 commit edb878ee48723c0cc92b1bb35c642519120b20e9 kyle committed Oct 11, 2009
Showing with 7 additions and 1 deletion.
  1. +7 −1 S06-signature/slurpy-params.t
View
8 S06-signature/slurpy-params.t
@@ -3,7 +3,7 @@ use Test;
# L<S06/List parameters/Slurpy parameters>
-plan 60;
+plan *;
sub xelems(*@args) { @args.elems }
sub xjoin(*@args) { @args.join('|') }
@@ -289,4 +289,10 @@ These tests are the testing for "List parameters" section of Synopsis 06
is $count, 1, 'Any slurpy param doesnt autothread';
}
+#?rakudo todo 'RT 65324'
+eval_dies_ok 'sub rt65324(*@x, $oops) { say $oops }',
+ "Can't put required parameter after variadic parameters";
+
+done_testing;
+
# vim: ft=perl6

0 comments on commit edb878e

Please sign in to comment.
Something went wrong with that request. Please try again.