Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
willtebbutt committed Aug 22, 2023
1 parent 30d4d98 commit 19be4c8
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/rrules/builtins.jl
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
@testset "builtins" begin
@testset "foreigncalls that should never be hit: $name" for name in [
:jl_alloc_array_1d, :jl_alloc_array_2d, :jl_alloc_array_3d, :jl_new_array,
:jl_array_grow_end, :jl_array_del_end, :jl_array_copy, :jl_type_intersection,
:memset,
]
@test_throws(
ErrorException,
Taped.rrule!!(
CoDual(Umlaut.__foreigncall__, NoTangent()),
CoDual(Val(name), NoTangent()),
)
)
end

@test_throws(
ErrorException,
Taped.rrule!!(
Expand Down

0 comments on commit 19be4c8

Please sign in to comment.