diff options
Diffstat (limited to 't/op/method.t')
-rwxr-xr-x | t/op/method.t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/t/op/method.t b/t/op/method.t index bdbc8a9673..e957d825ff 100755 --- a/t/op/method.t +++ b/t/op/method.t @@ -67,8 +67,11 @@ sub C::e; sub Y::f; $counter = 0; -@X::ISA = 'Y'; @Y::ISA = 'B'; +*Y::AUTOLOAD = *B::AUTOLOAD; + +@X::ISA = 'Y'; +*X::AUTOLOAD = *Y::AUTOLOAD; sub B::AUTOLOAD { my $c = ++$counter; |