X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fop%2Finc.t;h=e5a2a921b3f929e638b7bd945198e91234bfb20e;hb=1eb770ff12717abcb232d974ac25ca599a5d2987;hp=aee91f798b48bec89dee6187890b8d75af7ef9d1;hpb=53326d4cb95b0a426abad58608c3cd209994a30e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/op/inc.t b/t/op/inc.t index aee91f7..e5a2a92 100755 --- a/t/op/inc.t +++ b/t/op/inc.t @@ -6,11 +6,11 @@ print "1..6\n"; # Verify that addition/subtraction properly upgrade to doubles. -# These tests are only useful on machines with 32 bit longs, -# and one's complement negation, but shouldn't fail anywhere. +# These tests are only significant on machines with 32 bit longs, +# and two's complement negation, but shouldn't fail anywhere. $a = 2147483647; -$a++; +$c=$a++; if ($a == 2147483648) {print "ok 1\n"} else