From d63ef9c3b65d42d6d2d42796e89f1b7012bd0ed5 Mon Sep 17 00:00:00 2001 From: moritz Date: Sat, 17 Apr 2010 22:04:13 +0000 Subject: [PATCH] [t/spec] test for RT #69492 git-svn-id: http://svn.pugscode.org/pugs@30402 c213334d-75ef-0310-aa23-eaa082d1ae64 --- S06-signature/introspection.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/S06-signature/introspection.t b/S06-signature/introspection.t index e09db26085..dc4e9bbc96 100644 --- a/S06-signature/introspection.t +++ b/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