summaryrefslogtreecommitdiff
path: root/erts/emulator/test/bs_match_int_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/test/bs_match_int_SUITE.erl')
-rw-r--r--erts/emulator/test/bs_match_int_SUITE.erl10
1 files changed, 8 insertions, 2 deletions
diff --git a/erts/emulator/test/bs_match_int_SUITE.erl b/erts/emulator/test/bs_match_int_SUITE.erl
index 0268ba18c8..08b0a72785 100644
--- a/erts/emulator/test/bs_match_int_SUITE.erl
+++ b/erts/emulator/test/bs_match_int_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1999-2020. All Rights Reserved.
+%% Copyright Ericsson AB 1999-2023. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -275,7 +275,13 @@ match_huge_int(Config) when is_list(Config) ->
4 -> lists:seq(25, 32);
8 -> []
end ++ lists:seq(50, 64),
- ok = overflow_huge_int_unit128(Bin, Sizes)
+ ok = overflow_huge_int_unit128(Bin, Sizes),
+
+ %% GH-6701: [vm] crash with -emu_flavor emu:
+ %% "no next heap size found: 18446744072702918678, offset 0"
+ {'EXIT',{function_clause,_}} =
+ (catch fun(<<X:2147483647/unit:98>>) -> X end(<<>>)),
+ ok
end.
overflow_huge_int_unit128(Bin, [Sz0|Sizes]) ->