diff --git a/test/intrinsics.jl b/test/intrinsics.jl index 993efc63a4c03..0e8b2ec98fc23 100644 --- a/test/intrinsics.jl +++ b/test/intrinsics.jl @@ -100,3 +100,6 @@ let f = Core.Intrinsics.ashr_int @test f(Int32(-1), -10) == -1 @test f(Int32(2), -1) == 0 end + +# issue #29929 +@test unsafe_store!(Ptr{Nothing}(C_NULL), nothing) == Ptr{Nothing}(0)