Add unary op tests

This commit is contained in:
Joey Yakimowich-Payne 2018-06-02 12:32:28 +09:00
commit 4cd94ff462
3 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,8 @@
int main() {
&a;
*b;
+c;
-d;
~e;
!f;
}

View file

@ -0,0 +1,7 @@
proc main(): cint =
addr a
b[]
+c
-d
not e
not f