aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/test
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-11-02 09:14:23 +0100
committerHans Bolinder <[email protected]>2016-11-02 09:14:23 +0100
commitb8fee0165c0fd510aebde6445833052dba8f7ece (patch)
treecb67bd14eb12b2d127ceaeb8225c354f4423c498 /lib/dialyzer/test
parent32204413c0501b4ace070842ab75afb55cfd0d02 (diff)
parent16cf273d4004be907f976ca0e059e895fdf9692b (diff)
downloadotp-b8fee0165c0fd510aebde6445833052dba8f7ece.tar.gz
otp-b8fee0165c0fd510aebde6445833052dba8f7ece.tar.bz2
otp-b8fee0165c0fd510aebde6445833052dba8f7ece.zip
Merge branch 'hasse/erts/fix_match_spec_head/OTP-13996' into maint
* hasse/erts/fix_match_spec_head/OTP-13996: Update preloaded erts: Correct type declaration of match specification head
Diffstat (limited to 'lib/dialyzer/test')
-rw-r--r--lib/dialyzer/test/small_SUITE_data/src/ms.erl8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/src/ms.erl b/lib/dialyzer/test/small_SUITE_data/src/ms.erl
new file mode 100644
index 0000000000..47a5e886cf
--- /dev/null
+++ b/lib/dialyzer/test/small_SUITE_data/src/ms.erl
@@ -0,0 +1,8 @@
+-module(ms).
+-export([t/0]).
+
+-include_lib("stdlib/include/ms_transform.hrl").
+
+t() ->
+ MS = dbg:fun2ms(fun(All) -> message(All) end),
+ erlang:trace_pattern({m, f, '_'}, MS).