diff options
author | Björn-Egil Dahlberg <[email protected]> | 2014-09-30 15:30:44 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2014-09-30 15:30:44 +0200 |
commit | f515622d0ce3a4dd444745f9bee5cb39d5b7f0e8 (patch) | |
tree | 1529eb132f020de9a3cfec411a19a34659844748 /lib/stdlib | |
parent | 4196af1031b1cb9e410de77118a52bfbc3363b48 (diff) | |
download | otp-f515622d0ce3a4dd444745f9bee5cb39d5b7f0e8.tar.gz otp-f515622d0ce3a4dd444745f9bee5cb39d5b7f0e8.tar.bz2 otp-f515622d0ce3a4dd444745f9bee5cb39d5b7f0e8.zip |
stdlib: Test Map attributes via erl_pp
Diffstat (limited to 'lib/stdlib')
-rw-r--r-- | lib/stdlib/test/erl_pp_SUITE.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/test/erl_pp_SUITE.erl b/lib/stdlib/test/erl_pp_SUITE.erl index 04c1dd3898..927fe0b595 100644 --- a/lib/stdlib/test/erl_pp_SUITE.erl +++ b/lib/stdlib/test/erl_pp_SUITE.erl @@ -617,6 +617,7 @@ misc_attrs(Config) when is_list(Config) -> ok = pp_forms(<<"-record(a, {b,c}). ">>), ok = pp_forms(<<"-record(' a ', {}). ">>), ok = pp_forms(<<"-record(' a ', {foo = foo:bar()}). ">>), + ok = pp_forms(<<"-custom1(#{test1 => init/2, test2 => [val/1, val/2]}). ">>), ok. dialyzer_attrs(suite) -> |