aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/behaviour_SUITE_data/src/sample_behaviour_old/correct_callback.erl
blob: 8f254520ab101887750572a736358b39c068c5fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%%% This is a correct callback module for the correct_behaviour.

-module(correct_callback).

-behaviour(correct_behaviour).

-export([foo/0, bar/2]).

foo() ->
    yes.

bar({'query', 'boo'}, _Any) ->
    no;
bar({'reply', [_R]}, [1,2,3]) ->
    yes.