Browse files

[t/spec] test for RT #69492

git-svn-id: http://svn.pugscode.org/pugs@30402 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 87e66e6 commit d63ef9c3b65d42d6d2d42796e89f1b7012bd0ed5 moritz committed Apr 17, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 S06-signature/introspection.t
View
6 S06-signature/introspection.t
@@ -103,6 +103,12 @@ sub j(*@i) {
}
+# RT #69492
+{
+ sub foo(:$) {};
+ ok &foo.signature.perl ~~ / ':' /, '.perl of a signature with anonymous named parameter';
+}
+
done_testing;
# vim: ft=perl6

0 comments on commit d63ef9c

Please sign in to comment.