mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
* test/src/data-tests.el (data-tests-ash-lsh): Test for bug#79876.
This commit is contained in:
parent
c499c2f67b
commit
ef903e0f5a
1 changed files with 2 additions and 0 deletions
|
|
@ -797,6 +797,8 @@ comparing the subr with a much slower Lisp implementation."
|
|||
(should (= (ash (* 2 most-negative-fixnum) (* 2 most-negative-fixnum)) -1))
|
||||
(should (= (ash (* 2 most-negative-fixnum) -1)
|
||||
most-negative-fixnum))
|
||||
(should (= (ash 1 48) #x1000000000000))
|
||||
(should (= (ash 1 72) #x1000000000000000000))
|
||||
(with-suppressed-warnings ((suspicious lsh))
|
||||
(should (= (lsh most-negative-fixnum 1)
|
||||
(* most-negative-fixnum 2)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue