diff options
author | Nicholas Clark <nick@ccl4.org> | 2001-01-07 21:07:18 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-01-08 02:42:59 +0000 |
commit | 09bb3e277be365399d3c135a30bd01910fe25c56 (patch) | |
tree | 6a8aec90378def8ec05b65cdfccc04cbb3761bd7 /t | |
parent | 5acaa6ec689aa2e39b6ec028d286e5561be1d297 (diff) | |
download | perl-09bb3e277be365399d3c135a30bd01910fe25c56.tar.gz |
[ID 20010107.012] [PATCH] 18446744073709551616e0 was treated as UV=18446744073709551615
Message-Id: <20010107210717.D1048@plum.flirble.org>
p4raw-id: //depot/perl@8366
Diffstat (limited to 't')
-rw-r--r-- | t/op/64bitint.t | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/op/64bitint.t b/t/op/64bitint.t index 47779dd058..c34d188c37 100644 --- a/t/op/64bitint.t +++ b/t/op/64bitint.t @@ -16,7 +16,7 @@ BEGIN { # 32+ bit integers don't cause noise no warnings qw(overflow portable); -print "1..57\n"; +print "1..58\n"; my $q = 12345678901; my $r = 23456789012; @@ -320,4 +320,10 @@ if ($num eq $string) { print "not ok 57 # \"$num\" ne \"$string\"\n"; } +$q = "18446744073709551616e0"; +$q += 0; +print "# \"18446744073709551616e0\" += 0 gives $q\nnot " if "$q" eq "18446744073709551615"; +print "ok 58\n"; + + # eof |