aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/nofrag_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/test/nofrag_SUITE.erl')
-rw-r--r--erts/emulator/test/nofrag_SUITE.erl5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/test/nofrag_SUITE.erl b/erts/emulator/test/nofrag_SUITE.erl
index 8b1519ae36..d4c74579e2 100644
--- a/erts/emulator/test/nofrag_SUITE.erl
+++ b/erts/emulator/test/nofrag_SUITE.erl
@@ -22,6 +22,11 @@
-include_lib("common_test/include/ct.hrl").
+%% This suite alters the return values of functions which breaks certain
+%% assumptions made by the compiler, so we have to turn off module-level type
+%% optimization to be safe.
+-compile(no_module_opt).
+
-export([all/0, suite/0,
error_handler/1,error_handler_apply/1,
error_handler_fixed_apply/1,error_handler_fun/1,