diff options
author | Hans Bolinder <[email protected]> | 2016-10-19 10:34:53 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-10-19 10:34:53 +0200 |
commit | 9a7f521f9d6eba398af2e703863f9975911085a4 (patch) | |
tree | ddefd023f2ff97506842ac87dbdf79ba43627a94 /lib/stdlib/test/ms_transform_SUITE.erl | |
parent | 826ebfba7b0624e52015fe6882aef3db758b9d03 (diff) | |
parent | 8db6c68b2d748e4a72445959f205d8d6c4dd18ed (diff) | |
download | otp-9a7f521f9d6eba398af2e703863f9975911085a4.tar.gz otp-9a7f521f9d6eba398af2e703863f9975911085a4.tar.bz2 otp-9a7f521f9d6eba398af2e703863f9975911085a4.zip |
Merge branch 'gomoripeti/stdlib/ms_fix/PR-1203/OTP-13974' into maint
* gomoripeti/stdlib/ms_fix/PR-1203/OTP-13974:
dbg:fun2ms: allow empty list as head
Diffstat (limited to 'lib/stdlib/test/ms_transform_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/ms_transform_SUITE.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stdlib/test/ms_transform_SUITE.erl b/lib/stdlib/test/ms_transform_SUITE.erl index 1c5faa960b..f35013b1b2 100644 --- a/lib/stdlib/test/ms_transform_SUITE.erl +++ b/lib/stdlib/test/ms_transform_SUITE.erl @@ -296,6 +296,8 @@ basic_dbg(Config) when is_list(Config) -> compile_and_run(<<"dbg:fun2ms(fun([A,B]) -> bindings() end)">>), [{['$1','$2'],[],['$_']}] = compile_and_run(<<"dbg:fun2ms(fun([A,B]) -> object() end)">>), + [{[],[],[{return_trace}]}] = + compile_and_run(<<"dbg:fun2ms(fun([]) -> return_trace() end)">>), ok. %% Test calling of ets/dbg:fun2ms from the shell. |