Skip to content

Commit 8ee170f

Browse files
committed
add test to check that medium sized arrays are 64-byte aligned
1 parent 3e2d343 commit 8ee170f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/core.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3876,3 +3876,7 @@ module Test15264
38763876
mod1{T}(x::T) = x < 1 ? x : mod1(x-1)
38773877
end
38783878
@test Test15264.mod1 !== Base.mod1
3879+
3880+
3881+
# check that medium-sized array is 64-byte aligned (#15139)
3882+
@test Int(pointer(Vector{Float64}(1024))) % 64 == 0

0 commit comments

Comments
 (0)