Skip to content

Commit

Permalink
Skip 64bit only test
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Nov 10, 2017
1 parent ad6cea8 commit f0dbe1c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions S02-types/native.t
Expand Up @@ -169,15 +169,17 @@ plan 94;
is class :: { has uint64 $.x; }.new( x => 2**64-1 ).x, 2**64-1, 'uint64 attributes don\'t get sign-extended';
}

# RT #121071
{
if $?BITS >= 64 { # RT #121071
my int $low = 10**15;
my int $high = 2**60 - 1;
is $low, 1_000_000_000_000_000,
'int does not get confused with goldilocks number (low)';
is $high, 1_152_921_504_606_846_975,
'int does not get confused with goldilocks number (high)';
}
else {
skip "this test doesn't make sense on 32bit platforms";
}

# RT #123789 (ensure we die, not SEGV)
dies-ok { EVAL 'my int $x = Int;' }, '"my int $x = Int" dies';
Expand Down

0 comments on commit f0dbe1c

Please sign in to comment.