This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add a TODO test for bug #23790, by Abigail
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 30 Sep 2003 11:06:53 +0000 (11:06 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Tue, 30 Sep 2003 11:06:53 +0000 (11:06 +0000)
p4raw-id: //depot/perl@21389

t/op/sub_lval.t

index 003c1a0..c161b4b 100755 (executable)
@@ -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");
+}