Skip to content

Commit 2939bc3

Browse files
Update interface_tests.jl
1 parent 3e4a22f commit 2939bc3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/interface_tests.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,9 @@ f!(z,zz)
152152

153153
z .= 0.1
154154
@test z == VectorOfArray([fill(0.1, SVector{2, Float64}), fill(0.1, SVector{2, Float64})])
155+
156+
function f2!(z)
157+
z .= 0.1
158+
end
159+
f2!(z)
160+
@test (@allocated f2!(z)) == 0

0 commit comments

Comments
 (0)