From a7cf73020677c8a0f7beb29d035c50e0e768586b Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sat, 24 Aug 2019 14:44:01 +0200 Subject: [PATCH] :white_check_mark: Test ref type when using new --- tests/new/ref_new.gw | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/new/ref_new.gw diff --git a/tests/new/ref_new.gw b/tests/new/ref_new.gw new file mode 100644 index 00000000..571cdb73 --- /dev/null +++ b/tests/new/ref_new.gw @@ -0,0 +1,3 @@ +#! [contains] can't use 'new' on ref type +typedef int[] _int; +new _int; -- 2.43.0