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 <vtjnash@gmail.com>
  • Loading branch information
aviatesk and vtjnash authored Mar 21, 2023
1 parent 199b451 commit 828c68d
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 @@ -1937,4 +1937,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 828c68d

Please sign in to comment.