Skip to content

Commit aa8ec10

Browse files
Capture/silence some noisy test warnings (JuliaLang#57111)
1 parent 3e14e22 commit aa8ec10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/codegen.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ end
10311031
# Make sure that code that has unbound sparams works
10321032
#https://github.com/JuliaLang/julia/issues/56739
10331033

1034-
f56739(a) where {T} = a
1034+
@test_warn r"declares type variable T but does not use it" @eval f56739(a) where {T} = a
10351035

10361036
@test f56739(1) == 1
10371037
g56739(x) = @noinline f56739(x)

0 commit comments

Comments
 (0)