From: Rafael Garcia-Suarez Date: Tue, 30 Sep 2003 11:06:53 +0000 (+0000) Subject: Add a TODO test for bug #23790, by Abigail X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4546bcba647ec497f1cc55a0744a9621a6dbe677;p=p5sagit%2Fp5-mst-13.2.git Add a TODO test for bug #23790, by Abigail p4raw-id: //depot/perl@21389 --- diff --git a/t/op/sub_lval.t b/t/op/sub_lval.t index 003c1a0..c161b4b 100755 --- a/t/op/sub_lval.t +++ b/t/op/sub_lval.t @@ -1,4 +1,4 @@ -print "1..67\n"; +print "1..68\n"; BEGIN { chdir 't' if -d 't'; @@ -560,3 +560,15 @@ TODO: { is($blah, 8, "yada"); } +TODO: { + local $TODO = "bug #23790"; + my @arr = qw /one two three/; + my $line = "zero"; + sub lval_array () : lvalue {@arr} + + for (lval_array) { + $line .= $_; + } + + is($line, "zeroonetwothree"); +}