summaryrefslogtreecommitdiff
path: root/lib/dialyzer/test/incremental_SUITE_data/extra_modules/src/extra_module.erl
blob: 21bb42ee612621922c5bbcb0f9a570a5f63a2517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-module(extra_module).

-export([start/2,stop/1,f/1]).

start(StartType, StartArgs) ->
  error.

stop(State) ->
  error.

% Purposely broken to generate a warning if the module is loaded and analysed
-spec f(atom()) -> string().
f(N) when is_integer(N) ->
  [N + 1|3].