From 46df4f9a99a39471087069653ad9c686ac5095d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Wed, 16 Sep 2020 16:54:53 +0200 Subject: [PATCH] :wrench: Fix pass test --- tests/import/pass.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.43.0