From: fennecdjay Date: Sun, 8 Jan 2023 13:37:27 +0000 (+0100) Subject: :art: update tests X-Git-Tag: nightly~207^2~20 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=b1797bc827a08330d5ab25cabf95027ed7ada2b2;p=gwion.git :art: update tests --- diff --git a/tests/array/invalid_subscript.gw b/tests/array/invalid_subscript.gw new file mode 100644 index 00000000..2f323898 --- /dev/null +++ b/tests/array/invalid_subscript.gw @@ -0,0 +1,4 @@ +#! [contains] invalid array declaration +class C {} + +var int[C] i; diff --git a/tests/error/class_inside.gw b/tests/error/class_inside.gw index 186355b2..d1b7e1ef 100644 --- a/tests/error/class_inside.gw +++ b/tests/error/class_inside.gw @@ -1,4 +1,4 @@ -#! [contains] declared inside +#! [contains] recursive type class c { var c myvar; }