diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-11 18:11:22 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-11 18:11:22 +0000 |
commit | 1d76a5c36fe33e7755afd0f03faf19826beda303 (patch) | |
tree | b465978813ba48e23662c45b02420d15e7ae2de7 /t/op/misc.t | |
parent | 6b7b8867bcd9dae4737a0f8210ca9785c63634b8 (diff) | |
download | perl-1d76a5c36fe33e7755afd0f03faf19826beda303.tar.gz |
change#3511 was not defensive enough about try blocks, causing
bogus attempts to free closures, and thence, segfaults
p4raw-link: @3511 on //depot/perl: 067f92a0e46641b4b3e89afcde43bf134105f7b7
p4raw-id: //depot/perl@5658
Diffstat (limited to 't/op/misc.t')
-rwxr-xr-x | t/op/misc.t | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/t/op/misc.t b/t/op/misc.t index a595694e9b..501efba0a7 100755 --- a/t/op/misc.t +++ b/t/op/misc.t @@ -508,3 +508,10 @@ else { } EXPECT Use of uninitialized value in numeric eq (==) at - line 4. +######## +$x = sub {}; +foo(); +sub foo { eval { return }; } +print "ok\n"; +EXPECT +ok |