Skip to content

Commit

Permalink
add test cases from #47664
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Apr 15, 2024
1 parent 61fc9ed commit ed16a17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/compiler/irpasses.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1870,3 +1870,11 @@ let t = @async begin
end
@test ok
end

# JuliaLang/julia47664
@test !fully_eliminated() do
any(isone, Iterators.repeated(0))
end
@test !fully_eliminated() do
all(iszero, Iterators.repeated(0))
end

0 comments on commit ed16a17

Please sign in to comment.