diff options
author | Hans Bolinder <[email protected]> | 2018-01-19 12:44:28 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2018-01-19 12:44:28 +0100 |
commit | 69de63049417cf7e047f035b5e086caad9dc7932 (patch) | |
tree | 78f5f24ab67a9a3b16d5ee86c0e9a9c04d806e9a /lib/dialyzer | |
parent | 919b6ddc24e409ec78380af14511ad50a88b4525 (diff) | |
parent | cecf41457d92a3bd21a7690b589f79c0a2901a93 (diff) | |
download | otp-69de63049417cf7e047f035b5e086caad9dc7932.tar.gz otp-69de63049417cf7e047f035b5e086caad9dc7932.tar.bz2 otp-69de63049417cf7e047f035b5e086caad9dc7932.zip |
Merge branch 'hasse/dialyzer/fix_bsl' into maint
* hasse/dialyzer/fix_bsl:
dialyzer: Fix bsl/2 bug
Diffstat (limited to 'lib/dialyzer')
-rw-r--r-- | lib/dialyzer/test/small_SUITE_data/src/bsL.erl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/dialyzer/test/small_SUITE_data/src/bsL.erl b/lib/dialyzer/test/small_SUITE_data/src/bsL.erl new file mode 100644 index 0000000000..b2fdc16324 --- /dev/null +++ b/lib/dialyzer/test/small_SUITE_data/src/bsL.erl @@ -0,0 +1,13 @@ +-module(bsL). + +-export([t/0]). + +%% Found in lib/observer/test/crashdump_helper.erl. + +t() -> + Size = 60, + <<H:16/unit:8>> = erlang:md5(<<Size:32>>), + true = H < 20, + true = H > 2, + Data = ((H bsl (8*150)) div (H+7919)), + <<Data:Size/unit:8>>. |