From: fennecdjay Date: Fri, 11 Oct 2019 00:32:29 +0000 (+0200) Subject: :art: More cpy_ast X-Git-Tag: nightly~2185 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=8a972039b84e28c1494917b71534d3e388ced6de;p=gwion.git :art: More cpy_ast --- diff --git a/tests/tree/cpy_ast.gw b/tests/tree/cpy_ast.gw index d9aa414d..a079bad4 100644 --- a/tests/tree/cpy_ast.gw +++ b/tests/tree/cpy_ast.gw @@ -14,12 +14,19 @@ class <~A~>C { if(i) i; else i; for(int; i < 1; ++i); int array[2]; + array[0]; for(auto a : array); repeat(1); - match i { case _:; } + match i,2 { + case 12 when 0:; + case _,2 when 0:; + } where int i; enum { zero }; typedef int Int; goto end; + new Object; + spork { <<< __func__ >>>; }; end: + while(0){ <<< __func__ >>>; } } <~int~>C c;