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

-module(incorrect_args_callback).

-behaviour(correct_behaviour).

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

foo() ->
    yes.

bar({'reply', _Any}, yes) -> %% Should be a tuple and a list.
    yes.