Skip to content

Commit 0ef644f

Browse files
author
Michael Abbott
committed
add a test
1 parent 8efd26b commit 0ef644f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/miscellaneous.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,5 +1139,16 @@ if Base.libllvm_version ≥ v"8" || LoopVectorization.VectorizationBase.SIMD_NAT
11391139
end
11401140
end
11411141
end
1142+
1143+
@test_throws LoadError @macroexpand begin # pull #172
1144+
@avx for i in eachindex(xs)
1145+
if i in axes(ys,1)
1146+
xs[i] = ys[i]
1147+
else
1148+
xs[i] = zero(eltype(ys))
1149+
end
1150+
end
1151+
end
1152+
11421153
end
11431154

0 commit comments

Comments
 (0)