From 0370d4f268ad33c89220346ae79a311e0aeb34c9 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Thu, 9 Sep 2021 23:00:54 +0300 Subject: [PATCH] native: fix macho test --- vlib/v/gen/native/macho_test.v | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vlib/v/gen/native/macho_test.v b/vlib/v/gen/native/macho_test.v index 2909cad522..aea9ff4b7f 100644 --- a/vlib/v/gen/native/macho_test.v +++ b/vlib/v/gen/native/macho_test.v @@ -9,7 +9,9 @@ fn test_macho() { pref: &pref.Preferences{} out_name: 'test.bin' table: ast.new_table() - cgen: native.Amd64{} + cgen: native.Amd64{ + g: 0 + } } g.generate_macho_header() g.generate_macho_footer()