aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/test/test_lib.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debugger/test/test_lib.erl')
-rw-r--r--lib/debugger/test/test_lib.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/debugger/test/test_lib.erl b/lib/debugger/test/test_lib.erl
index b9ac486694..7e98d210e8 100644
--- a/lib/debugger/test/test_lib.erl
+++ b/lib/debugger/test/test_lib.erl
@@ -23,8 +23,15 @@
-export([interpret/1]).
+%% Used by test case that override BIFs.
+-export([binary/1]).
+
interpret(Mod) when is_atom(Mod) ->
case lists:member(Mod, int:interpreted()) of
true -> ok;
false -> {module,Mod} = i:ii(Mod)
end.
+
+%% This is for overridden_bif_SUITE.
+binary(N) ->
+ N rem 10 =:= 0.