push @INC, '../lib';
}
-print "1..25\n";
+print "1..26\n";
$h{'abc'} = 'ABC';
$h{'def'} = 'DEF';
print "#$u{$_}\n" for keys %u; # Used to core dump before change #8056.
print "ok 24\n";
-%u = (qu"\xe3\x81\x82" => "downglade");
+$d = pack("U*", 0xe3, 0x81, 0x82);
+%u = ($d => "downgrade");
for (keys %u) {
use bytes;
print "not " if length ne 3 or $_ ne "\xe3\x81\x82";
print "ok 25\n";
}
+{
+ use bytes;
+ print "not " if length($d) ne 6;
+ print "ok 26\n";
+}