diff options
Diffstat (limited to 't/mro/basic.t')
-rw-r--r-- | t/mro/basic.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/mro/basic.t b/t/mro/basic.t index 65090732f7..5625b5190e 100644 --- a/t/mro/basic.t +++ b/t/mro/basic.t @@ -8,7 +8,7 @@ BEGIN { @INC = '../lib'; require q(./test.pl); } -plan(tests => 60); +plan(tests => 61); require mro; @@ -389,3 +389,9 @@ undef $x; # should use the new DESTROY is $destroy_output, "new", 'Changes to UNIVERSAL::DESTROY invalidate DESTROY caches'; undef *UNIVERSAL::DESTROY; + +{ + no warnings 'uninitialized'; + $#_119433::ISA++; + pass "no crash when ISA contains nonexistent elements"; +} |