p4raw-id: //depot/perl@25176
my $ref = \@array;
- local $TODO = '$#foo semantics with local @foo not fixed yet';
-
my $inner;
{
local @array;
is (scalar @array, 7);
is ($$outer, 6);
- is ($$inner, 0, "This is emergent behaviour");
+ is ($$inner, undef, "orphaned $#foo is always undef");
is (scalar @array, 7);
is ($$outer, 6);