diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-10-06 20:19:09 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-10-06 20:25:53 -0700 |
commit | 029af4cfd939699e66ee8aa043a304c8724a2303 (patch) | |
tree | 1cb8e9028da6878b6825844fc1b4dcf6ee4a039c | |
parent | b8209390762defae652407d2c41dc789b3d53615 (diff) | |
download | perl-029af4cfd939699e66ee8aa043a304c8724a2303.tar.gz |
Make undef %overload:: test more likely to crash
I think I omitted the blessing by mistake. Taken alone, this
block does not crash in earlier versions without the bless.
-rw-r--r-- | lib/overload.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/overload.t b/lib/overload.t index 2efc5aa47d..89d8af7d83 100644 --- a/lib/overload.t +++ b/lib/overload.t @@ -2191,6 +2191,7 @@ fresh_perl_is use overload '+' => 'onion'; $_ = \&overload::nil; undef %overload::; + bless[]; ::ok(1, 'no crash when undefining %overload::'); } |