From dd9291ae4c054b0cf7ad44d1076f9512e67a0023 Mon Sep 17 00:00:00 2001 From: Gabriel Baraldi Date: Mon, 6 Feb 2023 16:32:44 -0300 Subject: [PATCH] Add test --- test/hashing.jl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/hashing.jl b/test/hashing.jl index 9bd076554962f..9f40e7a4a73ac 100644 --- a/test/hashing.jl +++ b/test/hashing.jl @@ -284,3 +284,11 @@ end end end end + +if Sys.WORD_SIZE >= 64 + @testset "very large string" begin + N = 2^31+1 + s = String('\0'^N); + objectid(s) + end +end