From 3cd0f1e454a485759e3f1fbad008fe8f30e11b1b Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 10 Oct 2019 13:10:59 +0200 Subject: [PATCH] :art: check_td arg --- tests/error/func_error_void.gw | 3 +++ tests/tree/check_td_arg.gw | 1 + 2 files changed, 4 insertions(+) create mode 100644 tests/error/func_error_void.gw create mode 100644 tests/tree/check_td_arg.gw diff --git a/tests/error/func_error_void.gw b/tests/error/func_error_void.gw new file mode 100644 index 00000000..7c753a33 --- /dev/null +++ b/tests/error/func_error_void.gw @@ -0,0 +1,3 @@ +#! [contains] and not: +fun void test(int i) {} +test(); diff --git a/tests/tree/check_td_arg.gw b/tests/tree/check_td_arg.gw new file mode 100644 index 00000000..139e3907 --- /dev/null +++ b/tests/tree/check_td_arg.gw @@ -0,0 +1 @@ +fun void test(`1` i) {} -- 2.43.0