aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/indent_SUITE_data/src/sample_behaviour/sample_behaviour.erl
blob: 116980986bbe7452d2b8d37154336fee1464ab0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
-module(sample_behaviour).

-type custom() :: 1..42.

-callback sample_callback_1() -> term().
-callback sample_callback_2() -> atom().
-callback sample_callback_3() -> {'ok', custom()} | 'fail'.

-callback sample_callback_4(term()) -> 'ok'.
-callback sample_callback_5(custom()) -> 'ok' | 'fail'.

-callback sample_callback_6(custom(), custom(), string()) ->
    {'ok', custom()} | 'fail'.