Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,19 @@
|
||||
fn test_isnil_byteptr() {
|
||||
pb := &u8(unsafe { nil })
|
||||
assert isnil(pb)
|
||||
}
|
||||
|
||||
fn test_isnil_voidptr() {
|
||||
pv := unsafe { nil }
|
||||
assert isnil(pv)
|
||||
}
|
||||
|
||||
fn test_isnil_charptr() {
|
||||
pc := &char(unsafe { nil })
|
||||
assert isnil(pc)
|
||||
}
|
||||
|
||||
fn test_isnil_intptr() {
|
||||
pi := &int(unsafe { nil })
|
||||
assert isnil(pi)
|
||||
}
|
||||
Reference in new issue
Block a user