Skip to content

Commit

Permalink
Add test for Issue JuliaLang#29929: `unsafe_store!(::Ptr{Nothing}, ::…
Browse files Browse the repository at this point in the history
…Nothing)`
  • Loading branch information
NHDaly committed Mar 22, 2019
1 parent d0b0ca3 commit 3725072
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/intrinsics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 3725072

Please sign in to comment.