blob: 9bc3ab14eabfcd4a62b19620b78e04900855602f (
plain) (
tree)
|
|
%% Test that option 'nowarn_unused_funcion' works similarly in
%% Dialyzer as in the compiler.
-module(nowarn_unused_function_2).
-compile(nowarn_unused_function).
-compile({warn_unused_function,f1/1}).
f1(_) ->
a.
-compile({warn_unused_function,[{f2,1}]}).
f2(_) ->
a.
-compile({nowarn_unused_function,[{f3,1}]}).
f3(_) ->
a.
|