Skip to content

Commit 9942f5f

Browse files
committed
Remove test no longer relevant after nightly ccall change
1 parent 166ec6b commit 9942f5f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/misc.jl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,18 +87,6 @@ end
8787
@test test_mod.ccall_with_sparams(Int) === 1
8888
@test test_mod.ccall_with_sparams(Float64) === 1.0
8989

90-
# Test that ccall can be passed static parameters in the function name
91-
JuliaLowering.include_string(test_mod, raw"""
92-
# In principle, may add other strlen-like functions here for different string
93-
# types
94-
ccallable_sptest_name(::Type{String}) = :strlen
95-
96-
function ccall_with_sparams_in_name(s::T) where {T}
97-
ccall(ccallable_sptest_name(T), Csize_t, (Cstring,), s)
98-
end
99-
""")
100-
@test test_mod.ccall_with_sparams_in_name("hii") == 3
101-
10290
@testset "CodeInfo: has_image_globalref" begin
10391
@test lower_str(test_mod, "x + y").args[1].has_image_globalref === false
10492
@test lower_str(Main, "x + y").args[1].has_image_globalref === true

0 commit comments

Comments
 (0)