diff options
Diffstat (limited to 'lang/julia/files/patch-test_gmp.jl')
-rw-r--r-- | lang/julia/files/patch-test_gmp.jl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/julia/files/patch-test_gmp.jl b/lang/julia/files/patch-test_gmp.jl new file mode 100644 index 000000000000..779374bd0ce3 --- /dev/null +++ b/lang/julia/files/patch-test_gmp.jl @@ -0,0 +1,13 @@ +--- test/gmp.jl.orig 2024-08-27 21:19:31 UTC ++++ test/gmp.jl +@@ -12,8 +12,8 @@ ee = typemax(Int64) + @test big(1) isa Signed + + if sizeof(Culong) >= 8 +- @test_throws OutOfMemoryError big(96608869069402268615522366320733234710)^16374500563449903721 +- @test_throws OutOfMemoryError 555555555555555555555555555555555555555555555555555^55555555555555555 ++ @test_throws DivideError big(96608869069402268615522366320733234710)^16374500563449903721 ++ @test_throws DivideError 555555555555555555555555555555555555555555555555555^55555555555555555 + end + + let x = big(1) |