p4raw-id: //depot/perl@7239
@INC = '../lib';
}
-print "1..37\n";
+print "1..38\n";
# numerics
print ((0xdead & 0xbeef) == 0x9ead ? "ok 1\n" : "not ok 1\n");
my @not36;
-for (0, 0x100...0xFFF) {
+for (0x100...0xFFF) {
$a = ~(chr $_);
push @not36, sprintf("%#03X", $_)
if $a ne chr(~$_) or length($a) != 1 or ~$a ne chr($_);
print "not ";
}
print "ok 37\n";
+
+print "not " unless ~chr(~0) eq "\0";
+print "ok 38\n";