diff --git a/test/compiler/codegen.jl b/test/compiler/codegen.jl index f2a4078cd2167..28de214b791f2 100644 --- a/test/compiler/codegen.jl +++ b/test/compiler/codegen.jl @@ -941,7 +941,7 @@ BigStructAnyInt() = BigStructAnyInt((Union{Base.inferencebarrier(Float64), Int}= #this function used to crash allocopt due to a no predecessors bug barnopreds() = Base.inferencebarrier(true) ? (Base.PkgId(Test),1) : nothing -function foonopred() +function foonopreds() pkginfo = @noinline barnopreds() pkgid = pkginfo !== nothing ? pkginfo[1] : nothing pkgid.uuid !== nothing ? pkgid.uuid : false