X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fop%2Fgv.t;h=9b347d3e20751fe3ec0636c386267761e6b59d2a;hb=2b5e58c4e3614e505a895c6ac7f709db82f8f7f4;hp=9ce11354a3b0cb9d954c4f9a58832fa02f694389;hpb=dc33ebcf89adb9fd4e96220dc56a16ce8d9115d2;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/op/gv.t b/t/op/gv.t index 9ce1135..9b347d3 100755 --- a/t/op/gv.t +++ b/t/op/gv.t @@ -11,7 +11,7 @@ BEGIN { use warnings; -print "1..47\n"; +print "1..48\n"; # type coersion on assignment $foo = 'foo'; @@ -208,5 +208,15 @@ print $j[0] == 1 ? "ok 43\n" : "not ok 43\n"; print $w =~ /Prototype mismatch/ ? "ok 47\n" : "not ok 47\n# $w"; } +{ + # [17375] rcatline to formerly-defined undef was broken. Fixed in + # do_readline by checking SvOK. AMS, 20020918 + my $x = "not "; + $x = undef; + $x .= ; + print $x; +} + __END__ ok 44 +ok 48