From: Jérémie Astor Date: Wed, 16 Sep 2020 14:54:53 +0000 (+0200) Subject: :wrench: Fix pass test X-Git-Tag: nightly~1283 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=46df4f9a99a39471087069653ad9c686ac5095d6;p=gwion.git :wrench: Fix pass test --- diff --git a/tests/import/pass.c b/tests/import/pass.c index 72be7146..54062886 100644 --- a/tests/import/pass.c +++ b/tests/import/pass.c @@ -13,7 +13,9 @@ ANN static m_bool pass(Env nv NUSED, Ast ast NUSED) { return GW_OK; } +static compilation_pass passes[2] = { pass, NULL }; GWION_IMPORT(array_test) { - gwi_register_pass(gwi, "dummy", pass); + + gwi_register_pass(gwi, "dummy", passes); return GW_OK; }