diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-10-27 16:04:13 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-10-27 16:04:13 +0100 |
commit | f7ab0c4f16e8a7ee62b4940b8d57748c0ad2c4cb (patch) | |
tree | 843d5faa453db7238319ec653a095ae3af74ffdf /lib/syntax_tools/test/syntax_tools_SUITE_data/m1.erl | |
parent | b4978407dc587ec677ff17da9efcd4c645db7b38 (diff) | |
parent | fd0e093463831cc20b0bda7c8ed24bfd31edccee (diff) | |
download | otp-f7ab0c4f16e8a7ee62b4940b8d57748c0ad2c4cb.tar.gz otp-f7ab0c4f16e8a7ee62b4940b8d57748c0ad2c4cb.tar.bz2 otp-f7ab0c4f16e8a7ee62b4940b8d57748c0ad2c4cb.zip |
Merge branch 'egil/maps/syntax-tools/OTP-12265' into maint
* egil/maps/syntax-tools/OTP-12265:
syntax_tools: Strengthen igor tests
syntax_tools: Strengthen erl_recomment tests
syntax_tools: Strengthen erl_syntax comments tests
syntax_tools: Teach Maps to erl_syntax
syntax_tools: Fix is_literal/1 for binary
syntax_tools: Strengthen epp_dodger tests
syntax_tools: Strengthen erl_syntax tests
syntax_tools: Refactor away ?line macro
Diffstat (limited to 'lib/syntax_tools/test/syntax_tools_SUITE_data/m1.erl')
-rw-r--r-- | lib/syntax_tools/test/syntax_tools_SUITE_data/m1.erl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/syntax_tools/test/syntax_tools_SUITE_data/m1.erl b/lib/syntax_tools/test/syntax_tools_SUITE_data/m1.erl new file mode 100644 index 0000000000..d0d1911199 --- /dev/null +++ b/lib/syntax_tools/test/syntax_tools_SUITE_data/m1.erl @@ -0,0 +1,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)]. |