diff --git a/test/array.jl b/test/array.jl index 5fd13bb7b5..c246cc5e1e 100644 --- a/test/array.jl +++ b/test/array.jl @@ -2,7 +2,7 @@ using Enzyme, Test function ptrcopy(B, A) @static if VERSION < v"1.11" - Base.unsafe_copyto!(B, A, 2) + Base.unsafe_copyto!(B, 1, A, 1, 2) else Base.unsafe_copyto!(B.ref, A.ref, 2) end @@ -22,4 +22,4 @@ end @test dB[1] === dA1 @test dB[2] === dA2 -end \ No newline at end of file +end