From: fennecdjay Date: Sat, 24 Aug 2019 12:44:01 +0000 (+0200) Subject: :white_check_mark: Test ref type when using new X-Git-Tag: nightly~2265 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a7cf73020677c8a0f7beb29d035c50e0e768586b;p=gwion.git :white_check_mark: Test ref type when using new --- 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;