We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89305aa commit 9fd7e3eCopy full SHA for 9fd7e3e
1 file changed
vlib/builtin/isnil_test.v
@@ -14,6 +14,6 @@ fn test_isnil_charptr() {
14
}
15
16
fn test_isnil_intptr() {
17
- pi := &int(0)
+ pi := &int(unsafe { nil })
18
assert isnil(pi)
19
0 commit comments