Starting from perl 5.25.4, this does not cause len magic to be triggered
anymore. It has been temporarily reverted from the core, but is likely to
come back, so this should appease the smokes.
This fixes [RT #128989].
+SKIP: {
+ skip 'len magic is no longer called for negative array indices' => 5
+ if "$]" >= 5.025_004;
+
my @val = (4 .. 6);
my $wv = init_value @val, 'len', 'len';
my @val = (4 .. 6);
my $wv = init_value @val, 'len', 'len';