aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/test/syntax_tools_SUITE_data/m1.erl
blob: d0d1911199fe1d53e83b2e91c903b08cacc19abb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%%
%% File:    m1.erl
%% Author:  Björn-Egil Dahlberg
%% Created: 2014-10-24
%%

-module(m1).

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

foo() ->
    [m2:foo(),
     m2:bar()].

bar(A) ->
    [m2:foo(A),
     m2:bar(A),
     m2:record_update(3,m2:record())].

baz(A,B) ->
    [m2:foo(A,B),
     m2:bar(A,B)].