mirror of
https://github.com/vlang/v.git
synced 2025-09-10 07:47:20 -04:00
ci,tests: silence compilation warning for vlib/v/tests/testcase_leak.vv
This commit is contained in:
parent
a40e751ba3
commit
32462004e6
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user