blob: fcce532f7372a7d995cb319b91ef1804ea1008cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
%% Test that option 'nowarn_unused_funcion' works similarly in
%% Dialyzer as in the compiler.
-module(nowarn_unused_function_1).
-compile(warn_unused_function).
-compile({nowarn_unused_function,f1/1}).
f1(_) ->
a.
-compile({nowarn_unused_function,[{f2,1}]}).
f2(_) ->
a.
-compile({warn_unused_function,[{f3,1}]}).
f3(_) ->
a.
|