Commit 49e82add authored by Philipp Marek's avatar Philipp Marek
Browse files

Fix undefined behavior in the copy-array.2 test.

(From Doug)
    For context, I'm trying to eradicate all such problems (using undefined
    behavior sanitizer <https://sourceforge.net/p/sbcl/sbcl/ci/d931c7eb>) so
    that, among other things, I can figure out whether the non-zero-
    initialized DX array patch can ever be released.
parent a1660438
......@@ -23,7 +23,7 @@
nil t)
(deftest copy-array.2
(let ((orig (make-array 1024 :fill-pointer 0)))
(let ((orig (make-array 1024 :fill-pointer 0 :initial-element nil)))
(vector-push-extend 1 orig)
(vector-push-extend 2 orig)
(vector-push-extend 3 orig)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment