From 9a9540314939295e150a9c44af75efe54402603b Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 11 Oct 2019 00:14:43 +0200 Subject: [PATCH] :art: Coverage cpy_ast --- tests/tree/cpy_ast.gw | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/tree/cpy_ast.gw 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; -- 2.43.0