Skip to content

Commit

Permalink
Update test/compiler/inline.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Jameson Nash <[email protected]>
  • Loading branch information
aviatesk and vtjnash committed Mar 21, 2023
1 parent 8f61f5b commit bdf75cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/compiler/inline.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1936,4 +1936,7 @@ let src = code_typed1() do
end
@test any(isinvoke(:issue49074), src.code)
end
@test_throws MethodError issue49074(Issue49050Concrete)
let result = @test_throws MethodError issue49074(Issue49050Concrete)
@test result.value.f === issue49074
@test result.value.args === (Any,)
end

0 comments on commit bdf75cd

Please sign in to comment.