summaryrefslogtreecommitdiff
path: root/t/mro
diff options
context:
space:
mode:
authorBrandon Black <blblack@gmail.com>2007-05-08 10:15:29 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-05-09 07:53:47 +0000
commit1dcae2832b009ee3632057559967f11b1052d943 (patch)
tree82bb63b72e8529916b4e418a12fced32059e4be1 /t/mro
parent53873a16992a7115bd6070904cd9bc6ca0c49749 (diff)
downloadperl-1dcae2832b009ee3632057559967f11b1052d943.tar.gz
Re: mro c3 infinite recursion problem. Attemp to free unreferenced scalar
From: "Brandon Black" <blblack@gmail.com> Message-ID: <84621a60705081315hca3885duc14b8c3e44080853@mail.gmail.com> p4raw-id: //depot/perl@31174
Diffstat (limited to 't/mro')
-rw-r--r--t/mro/recursion_c3.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/mro/recursion_c3.t b/t/mro/recursion_c3.t
index 54293150e0..4030cfcd2c 100644
--- a/t/mro/recursion_c3.t
+++ b/t/mro/recursion_c3.t
@@ -26,26 +26,37 @@ into an infinite loop
# initial setup, everything sane
{
package K;
+ use mro 'c3';
our @ISA = qw/J I/;
package J;
+ use mro 'c3';
our @ISA = qw/F/;
package I;
+ use mro 'c3';
our @ISA = qw/H F/;
package H;
+ use mro 'c3';
our @ISA = qw/G/;
package G;
+ use mro 'c3';
our @ISA = qw/D/;
package F;
+ use mro 'c3';
our @ISA = qw/E/;
package E;
+ use mro 'c3';
our @ISA = qw/D/;
package D;
+ use mro 'c3';
our @ISA = qw/A B C/;
package C;
+ use mro 'c3';
our @ISA = qw//;
package B;
+ use mro 'c3';
our @ISA = qw//;
package A;
+ use mro 'c3';
our @ISA = qw//;
}