aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/src/nowarnunused.erl
blob: 63daeee9e36820ffe7e7d7e5fadf06d36103351d (plain) (blame)
1
2
3
4
5
6
7
-module(nowarnunused).

-compile({nowarn_unused_function, return_error/2}).

-spec return_error(integer(), any()) -> no_return().
return_error(Line, Message) ->
    throw({error, {Line, ?MODULE, Message}}).