From 8a972039b84e28c1494917b71534d3e388ced6de Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 11 Oct 2019 02:32:29 +0200 Subject: [PATCH] :art: More cpy_ast --- tests/tree/cpy_ast.gw | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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; -- 2.43.0