native: fix macho test

pull/11456/head
Alexander Medvednikov 2021-09-09 23:00:54 +03:00
parent 66ef27a776
commit 0370d4f268
1 changed files with 3 additions and 1 deletions

View File

@ -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()