summaryrefslogtreecommitdiff
path: root/t/op/eval.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/eval.t')
-rwxr-xr-xt/op/eval.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/op/eval.t b/t/op/eval.t
index 8e8f69c0b8..a6d78c4dbd 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";