# New Ticket Created by Hiroki Horiuchi
# Please include the string: [perl #81524]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81524 >
#!/usr/bin/env perl6
# rakudo version: f99d081ea493399656a66f766e2c4d3fff57f548
# parrot version: e4bebcddff747fcfc156310334b78c309add17b2
# This test case aborts at second &abc.signature line with a message
# q{Method 'signature' not found for invocant of class ''}.
# If this line is commented out, the last `is' test fails.
use v6;
use Test;
plan *;
&abc.signature;
sub abc() { }
&abc.signature; # comment out if you want to try below.
try { &abc.signature; };
is $!, q{Method 'signature' not found for invocant of class ''};
# Hiroki Horiuchi from Japan.