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
9 changes: 9 additions & 0 deletions stdlib/LinearAlgebra/test/matmul.jl
Original file line number Diff line number Diff line change
Expand Up @@ -508,4 +508,13 @@ end
@test success(pipeline(cmd; stdout=stdout, stderr=stderr))
end

struct A32092
x::Float64
end
Base.:+(x::Float64, a::A32092) = x + a.x
Base.:*(x::Float64, a::A32092) = x * a.x
@testset "Issue #32092" begin
@test ones(2, 2) * [A32092(1.0), A32092(2.0)] == fill(3.0, (2,))
end

end # module TestMatmul