aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/src/non_existing.erl
blob: 5701b8a7451c16d55de2a6b4165dec6229f46371 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
%%--------------------------------------------------------------------------
%% Module which contains direct and indirect calls to remote functions
%% which do not exist.  Their treatment should be the same.
%%--------------------------------------------------------------------------
-module(non_existing).
-export([t_call/0, t_fun/0]).

t_call() ->
  lists:non_existing_call(42).

t_fun() ->
  Fun = fun lists:non_existing_fun/1,
  Fun(42).