use strict;
use warnings;
-use Test::More tests => 6 * 3 * 240;
+use Test::More tests => 6 * 3 * 260;
sub testcase {
my ($var, $init, $code, $exp, $use, $global) = @_;
$x->[0]->[1] = 1 # $x->[0]->[3] # '', undef, [ [ undef, 1 ] ] # +strict +store
$x->[0]->[1] = 1 # $x->[2]->[3] # '', undef, [ [ undef, 1 ], undef, [ ] ] # +strict +store
+--- aliasing ---
+
+$x # 1 for $x->[0]; () # '', undef, [ undef ]
+$x # 1 for $x->[0]; () # '', undef, undef #
+$x # 1 for $x->[0]; () # '', undef, undef # +fetch
+$x # 1 for $x->[0]; () # '', undef, [ undef ] # +exists
+$x # 1 for $x->[0]; () # '', undef, [ undef ] # +delete
+$x # 1 for $x->[0]; () # '', undef, [ undef ] # +store
+
+$x # $_ = 1 for $x->[0]; () # '', undef, [ 1 ]
+$x # $_ = 1 for $x->[0]; () # '', undef, undef #
+$x # $_ = 1 for $x->[0]; () # '', undef, undef # +fetch
+$x # $_ = 1 for $x->[0]; () # '', undef, [ 1 ] # +exists
+$x # $_ = 1 for $x->[0]; () # '', undef, [ 1 ] # +delete
+$x # $_ = 1 for $x->[0]; () # '', undef, [ 1 ] # +store
+
+$x->[0] = 1 # 1 for $x->[0]; () # '', undef, [ 1 ] # +fetch
+$x->[0] = 1 # 1 for $x->[1]; () # '', undef, [ 1, undef ] # +fetch
+$x->[0] = 1 # 1 for $x->[0]; () # '', undef, [ 1 ] # +exists
+$x->[0] = 1 # 1 for $x->[1]; () # '', undef, [ 1, undef ] # +exists
+$x->[0] = 1 # 1 for $x->[0]; () # '', undef, [ 1 ] # +delete
+$x->[0] = 1 # 1 for $x->[1]; () # '', undef, [ 1, undef ] # +delete
+$x->[0] = 1 # 1 for $x->[0]; () # '', undef, [ 1 ] # +store
+$x->[0] = 1 # 1 for $x->[1]; () # '', undef, [ 1, undef ] # +store
+
--- exists ---
$x # exists $x->[0] # '', '', [ ]