builtin: fix tests for isnil for -prod or -W, after the recent new cast warning (#24531)

This commit is contained in:
Laurent Cheylus 2025-05-21 05:10:34 +02:00 committed by GitHub
parent 89305aabe7
commit 9fd7e3e7c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,6 @@ fn test_isnil_charptr() {
}
fn test_isnil_intptr() {
pi := &int(0)
pi := &int(unsafe { nil })
assert isnil(pi)
}