summaryrefslogtreecommitdiff
path: root/t/op/method.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/method.t')
-rwxr-xr-xt/op/method.t5
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;