# 20020401 mjd-perl-patch+@plover.com
# Thanks to Dave Mitchell for the small test case
-{ require './test.pl';
- curr_test(35);
- local $::TODO = 'Not fixed yet';
- fresh_perl_is(<<'End_of_Test', "ok", {}, "Core dump in 'leavetry'");
-######## [ID 20020301.011] Core dump in 'leavetry' in 5.7.2
+{
my @a;
sub X::TIEARRAY { bless {}, 'X' }
tie @a, 'X';
eval { splice(@a) };
- print "ok\n"
-End_of_Test
+ # If we survived this far.
+ print "ok ", $test++, "\n";
}
-$test++;
print "not " unless $seen{'DESTROY'} == 2;
print "ok ", $test++,"\n";