mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-21 12:03:55 -08:00
* test/src/comp-test-funcs.el (comp-tests-aref-aset-f) : Fix UB.
This commit is contained in:
parent
3db6ace804
commit
4348969536
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@
|
|||
(length '(1 2 3)))
|
||||
|
||||
(defun comp-tests-aref-aset-f ()
|
||||
(let ((vec [1 2 3]))
|
||||
(let ((vec (make-vector 3 0)))
|
||||
(aset vec 2 100)
|
||||
(aref vec 2)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue