From: fennecdjay Date: Tue, 8 Oct 2019 00:10:30 +0000 (+0200) Subject: :white_check_mark: already imported op X-Git-Tag: nightly~2198^2~118 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=755cdbb1d3167411961dbf5364226ab2da3f3de9;p=gwion.git :white_check_mark: already imported op --- diff --git a/tests/import/op_already_imported.c b/tests/import/op_already_imported.c new file mode 100644 index 00000000..62f1ef20 --- /dev/null +++ b/tests/import/op_already_imported.c @@ -0,0 +1,21 @@ +#include "gwion_util.h" +#include "gwion_ast.h" +#include "oo.h" +#include "vm.h" +#include "env.h" +#include "type.h" +#include "instr.h" +#include "object.h" +#include "instr.h" +#include "vm.h" +#include "gwion.h" +#include "operator.h" +#include "import.h" +#include "gwi.h" + + +GWION_IMPORT(op_already_imported) { + CHECK_BB(gwi_oper_ini(gwi, "int", "int", "int")) + CHECK_BB(gwi_oper_end(gwi, "=>", NULL)) + return GW_OK; +} diff --git a/tests/import/op_already_imported.gw b/tests/import/op_already_imported.gw new file mode 100644 index 00000000..2aeb3617 --- /dev/null +++ b/tests/import/op_already_imported.gw @@ -0,0 +1,2 @@ +#! [contains] already imported +<<<1 >>>; diff --git a/tests/sh/plugin.sh b/tests/sh/import.sh similarity index 100% rename from tests/sh/plugin.sh rename to tests/sh/import.sh