Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Compiler/test/codegen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,16 @@ for (T, StructName) in ((Int128, :Issue55558), (UInt128, :UIssue55558))
end
end

# Issue #42326
primitive type PadAfter64_42326 448 end
mutable struct CheckPadAfter64_42326
a::UInt64
pad::PadAfter64_42326
b::UInt64
end
@test fieldoffset(CheckPadAfter64_42326, 3) == 80
@test sizeof(CheckPadAfter64_42326) == 96

@noinline Base.@nospecializeinfer f55768(@nospecialize z::UnionAll) = z === Vector
@test f55768(Vector)
@test f55768(Vector{T} where T)
Expand Down