diff options
author | Björn Gustavsson <[email protected]> | 2017-09-13 11:45:38 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-09-13 11:45:38 +0200 |
commit | 89c5a525ea9dc47677ef7b68bd5e80fad1cb546e (patch) | |
tree | 6ed75b219d0809f5addb096062c471a800aeb838 /lib/compiler/test | |
parent | edafd99aa0b808b79733dbe6ce3175b593c7b307 (diff) | |
parent | f9a323d10a9f5da305cbdec632d6bdf7ad4770b5 (diff) | |
download | otp-89c5a525ea9dc47677ef7b68bd5e80fad1cb546e.tar.gz otp-89c5a525ea9dc47677ef7b68bd5e80fad1cb546e.tar.bz2 otp-89c5a525ea9dc47677ef7b68bd5e80fad1cb546e.zip |
Merge pull request #1544 from michalmuskala/eq-opt
Optimise equality comparisons
Diffstat (limited to 'lib/compiler/test')
-rw-r--r-- | lib/compiler/test/guard_SUITE.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/compiler/test/guard_SUITE.erl b/lib/compiler/test/guard_SUITE.erl index ccb9b58225..d96cfdb7ac 100644 --- a/lib/compiler/test/guard_SUITE.erl +++ b/lib/compiler/test/guard_SUITE.erl @@ -1291,6 +1291,10 @@ rel_ops(Config) when is_list(Config) -> true = any_atom /= id(42), true = [] /= id(42), + %% Coverage of beam_utils:bif_to_test/3 + Empty = id([]), + ?T(==, [], Empty), + ok. -undef(TestOp). |