this MWE segfaults ``` mutable struct Atomic @atomic x::Int end function add_one!() @atomic (Atomic(0).x) += 1 end add_one!() # segfaults ``` but note it works fine if either the `::Int` is removed, or if the `Atomic(0)` is constructed before passing in ``` mutable struct Atomic @atomic x::Int end function add_one!(a) @atomic (a.x) += 1 end add_one!(Atomic(0)) # works ``` bisected to https://github.com/JuliaLang/julia/pull/51720