]> Nishi Git Mirror - gwion.git/commitdiff
:art: Update
authorfennecdjay <astor.jeremie@wanadoo.fr>
Mon, 4 Nov 2019 16:30:01 +0000 (17:30 +0100)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Mon, 4 Nov 2019 16:30:01 +0000 (17:30 +0100)
tests/import/func_fail4.c [new file with mode: 0644]
tests/sh/import.sh

diff --git a/tests/import/func_fail4.c b/tests/import/func_fail4.c
new file mode 100644 (file)
index 0000000..02d0fdb
--- /dev/null
@@ -0,0 +1,20 @@
+#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 "gwion.h"
+#include "value.h"
+#include "operator.h"
+#include "import.h"
+#include "instr.h"
+
+GWION_IMPORT(too_many_args) {
+  GWI_BB(gwi_func_ini(gwi, "Ptr<~int~>", "test<~A~>"))
+  GWI_BB(gwi_func_arg(gwi, "int", "i[][]"))
+  GWI_BB(gwi_item_end(gwi, ae_flag_none, NULL))
+  return GW_OK;
+}
index dd71344c524307c7d95e514c5b46ad97338231d2..76f8b5c71620ca71a4192efe4b53d3382989207a 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/bash
-# [test] #71
+# [test] #72
 
 n=0
 [ "$1" ] && n="$1"