From: Rafael Garcia-Suarez Date: Sun, 9 Mar 2003 11:48:37 +0000 (+0000) Subject: ... and add a test case for bug #20798 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=77d32bb7b5e051854298049d5aa8bdccf2df099a;p=p5sagit%2Fp5-mst-13.2.git ... and add a test case for bug #20798 p4raw-id: //depot/perl@18862 --- diff --git a/t/op/eval.t b/t/op/eval.t index 8e8f69c..a6d78c4 100755 --- a/t/op/eval.t +++ b/t/op/eval.t @@ -5,7 +5,7 @@ BEGIN { @INC = '../lib'; } -print "1..87\n"; +print "1..88\n"; eval 'print "ok 1\n";'; @@ -419,3 +419,6 @@ $test++; $test++; } } + +sub Foo {} print Foo(eval {}); +print "ok ",$test++," - #20798 (used to dump core)\n";