forked from aniani/vim
patch 8.2.3577: overflow check fails with 32 ints
Problem: Overflow check fails with 32 ints. Solution: Only test with 64 bit ints.
This commit is contained in:
@@ -149,6 +149,10 @@ func Test_p_with_count_leaves_mark_at_end()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_very_large_count()
|
func Test_very_large_count()
|
||||||
|
if v:sizeofint != 8
|
||||||
|
throw 'Skipped: only works with 64 bit ints'
|
||||||
|
endif
|
||||||
|
|
||||||
new
|
new
|
||||||
let @" = 'x'
|
let @" = 'x'
|
||||||
call assert_fails('norm 44444444444444p', 'E1240:')
|
call assert_fails('norm 44444444444444p', 'E1240:')
|
||||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3577,
|
||||||
/**/
|
/**/
|
||||||
3576,
|
3576,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user