diff options
author | Björn Gustavsson <[email protected]> | 2014-01-09 12:00:45 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-01-09 12:00:45 +0100 |
commit | 31ecc95ef55de3e112fd0b5134366fccf742a92d (patch) | |
tree | d7884fb5b00a63e812633904fff811c0c5bddd2e /lib/debugger/test | |
parent | e086297a8638a9f57983fd707f6c75e3d4b6edf3 (diff) | |
parent | 146b9548d6d6dac3753ef6eeeebe266033c4d66a (diff) | |
download | otp-31ecc95ef55de3e112fd0b5134366fccf742a92d.tar.gz otp-31ecc95ef55de3e112fd0b5134366fccf742a92d.tar.bz2 otp-31ecc95ef55de3e112fd0b5134366fccf742a92d.zip |
Merge branch 'nox/fix-dbg_ieval-exporting-rules/OTP-11553'
* nox/fix-dbg_ieval-exporting-rules/OTP-11553:
compiler tests: Test exporting rules for andalso/orelse
Fix evaluation of andalso and orelse in the debugger
Diffstat (limited to 'lib/debugger/test')
-rw-r--r-- | lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl b/lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl index c5c6a56363..ab485fd350 100644 --- a/lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl +++ b/lib/debugger/test/int_eval_SUITE_data/my_int_eval_module.erl @@ -236,4 +236,8 @@ otp_8310() -> (catch {a, [X || X <- a]}), {'EXIT',{{bad_generator,b},_}} = (catch {a, << <<X>> || << X >> <= b >>}), + true = begin (X1 = true) andalso X1, X1 end, + false = begin (X2 = false) andalso X2, X2 end, + true = begin (X3 = true) orelse X3, X3 end, + false = begin (X4 = false) orelse X4, X4 end, ok. |