Skip to content

Commit e4b3619

Browse files
committed
Fix asmcall test for 32 bit.
1 parent 68a91e2 commit e4b3619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/interop.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ d1(a) = @asmcall("bswap \$0", "=r,r", Int32, Tuple{Int32}, a)
8585

8686
# multiple output registers
8787

88-
e1() = @asmcall("mov \$\$1, \$0; mov \$\$2, \$1;", "=r,=r", Tuple{Int32,Int64})
89-
@test e1() == (Int32(1), Int64(2))
88+
e1() = @asmcall("mov \$\$1, \$0; mov \$\$2, \$1;", "=r,=r", Tuple{Int16,Int32})
89+
@test e1() == (Int16(1), Int32(2))
9090

9191
end
9292

0 commit comments

Comments
 (0)