ci: fix multiret_with_ptrtype_test.v

pull/9608/head
Delyan Angelov 2021-04-05 08:31:20 +03:00
parent 63a1c32a17
commit d82a0c1637
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 4 additions and 4 deletions

View File

@ -2,15 +2,15 @@ fn multi_voidptr_ret() (voidptr, bool) {
return voidptr(0), true return voidptr(0), true
} }
fn multi_byteptr_ret() (byteptr, bool) { fn multi_byteptr_ret() (&byte, bool) {
return byteptr(0), true return &byte(0), true
} }
fn test_multi_ptrtype_ret() { fn test_multi_ptrtype_ret() {
a, b := multi_voidptr_ret() a, b := multi_voidptr_ret()
assert a == voidptr(0) assert u64(a) == 0
assert b == true assert b == true
c, d := multi_byteptr_ret() c, d := multi_byteptr_ret()
assert c == byteptr(0) assert u64(c) == 0
assert d == true assert d == true
} }