diff --git a/S03-operators/repeat.t b/S03-operators/repeat.t index 5cd7439e4f..d690cc3c82 100644 --- a/S03-operators/repeat.t +++ b/S03-operators/repeat.t @@ -9,7 +9,7 @@ Repeat operators for strings and lists =end description -plan 62; +plan 64; #L @@ -213,4 +213,10 @@ is-deeply (|() xx *)[^5], (Nil, Nil, Nil, Nil, Nil), is $z, 25, 'xx does not keep containers around'; } +# RT #130941 +{ + lives-ok { 42 xx 9999999999 }, ‘xx is indeed lazy (32-bit range)’; + lives-ok { 42 xx (2 ** 62) }, ‘xx is indeed lazy (64-bit range)’; +} + # vim: ft=perl6