aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test/small_SUITE_data/src/app_call.erl
blob: 54d178d29a8b9ec641b78bd3fa516dfbf8ca0da0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-module(app_call).
-export([test/1]).

test(m) ->
  M = get_mod(),
  M:foo();
test(f) ->
  F = get_fun(),
  mod:F();
test(_) ->
  ok.

get_mod() ->
  42.

get_fun() ->
  {gazonk, []}.