diff --git a/stdlib/LinearAlgebra/test/matmul.jl b/stdlib/LinearAlgebra/test/matmul.jl index 62c7d7cc8faf2..845a0b5598169 100644 --- a/stdlib/LinearAlgebra/test/matmul.jl +++ b/stdlib/LinearAlgebra/test/matmul.jl @@ -487,4 +487,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