From cf42ba2b800c061b91d0c96080cc26afd533c743 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 21 Jul 2022 22:43:06 +0300 Subject: [PATCH] ci: revert nil to voidptr(u64(0)) in voidptr_dereference_err.vv too. nil should have its own .vv/.out pair. --- vlib/v/checker/tests/voidptr_dereference_err.vv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/checker/tests/voidptr_dereference_err.vv b/vlib/v/checker/tests/voidptr_dereference_err.vv index 0c092d2ec3..63e203a2af 100644 --- a/vlib/v/checker/tests/voidptr_dereference_err.vv +++ b/vlib/v/checker/tests/voidptr_dereference_err.vv @@ -1,5 +1,5 @@ fn main() { - mut a := unsafe { nil } + mut a := unsafe { voidptr(u64(0)) } mut b := 123 a = &b println(*a)