aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/user_SUITE_data/src/nowarn_unused_function_3.erl
blob: 604c5e436bb8d7314f54bbe2f2e990c2cb18fd52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%% Test that option 'nowarn_unused_funcion' works similarly in
%% Dialyzer as in the compiler.

-module(nowarn_unused_function_3).

-compile({warn_unused_function,[{f1,1},{f2,1}]}).
-compile({nowarn_unused_function,[{f3,1}]}).

f1(_) ->
    a.

f2(_) ->
    a.

f3(_) ->
    a.