From 15041a678a73e91c0e4cece2b3fd5f83d5128900 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Mon, 6 Sep 1999 20:33:43 +0000 Subject: Fix UV_SIZEOF to UVSIZE; change the overflow tests so that they overflow also on 64-bit platforms. p4raw-id: //depot/cfgperl@4093 --- t/pragma/warn/util | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/pragma/warn/util') diff --git a/t/pragma/warn/util b/t/pragma/warn/util index 6d82d133b8..6c9bc8c696 100644 --- a/t/pragma/warn/util +++ b/t/pragma/warn/util @@ -49,9 +49,9 @@ Illegal binary digit '9' ignored at - line 3. ######## # util.c use warnings 'overflow' ; -my $a = oct "0b111111111111111111111111111111111111111111" ; +my $a = oct "0b11111111111111111111111111111111111111111111111111111111111111111"; no warnings 'overflow' ; -$a = oct "0b111111111111111111111111111111111111111111" ; +$a = oct "0b11111111111111111111111111111111111111111111111111111111111111111"; EXPECT Integer overflow in binary number at - line 3. ######## -- cgit v1.2.1