ci,tests: silence compilation warning for vlib/v/tests/testcase_leak.vv

This commit is contained in:
Delyan Angelov 2024-11-09 09:14:06 +02:00
parent a40e751ba3
commit 32462004e6
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -8,5 +8,6 @@ fn main() {
mut y := unsafe { malloc(1000) }
// unsafe { free(y) } // leak if commented out
y = unsafe { nil }
_ = y
gc_check_leaks()
}