From: fennecdjay Date: Thu, 10 Oct 2019 22:14:43 +0000 (+0200) Subject: :art: Coverage cpy_ast X-Git-Tag: nightly~2195 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=9a9540314939295e150a9c44af75efe54402603b;p=gwion.git :art: Coverage cpy_ast --- diff --git a/tests/tree/cpy_ast.gw b/tests/tree/cpy_ast.gw new file mode 100644 index 00000000..eba11ffc --- /dev/null +++ b/tests/tree/cpy_ast.gw @@ -0,0 +1,24 @@ +class C { + \a{}; + [ 1 ]; + int i,j; + `i` k; + @(0); + 'a'; + true $ int; + i++; + i ? i : !i; + ++i; + union { int ui; }; + typeof(i); + if(i) i; else i; + for(int; i < 1; ++i); + int array[2]; + for(auto a : array); + repeat(1); +#! gotos ... + match i { case _:; } + enum { zero }; + typedef int Int; +} +C c;