diff --git a/test/rrules.jl b/test/rrules.jl index 978d5d26cc..54c7c22802 100644 --- a/test/rrules.jl +++ b/test/rrules.jl @@ -291,6 +291,8 @@ function plaquette_sum(U) return p end + +@static if VERSION >= v"1.9" @testset "No caching byref julia" begin U = Complex{Float64}[3.0 + 4.0im] dU = Complex{Float64}[0.0] @@ -299,5 +301,5 @@ end @test dU[1] ≈ 7 * ( 3.0 + 4.0im ) end - +end end # ReverseRules