diff options
Diffstat (limited to 'tests/functional/40_unary_op.sy')
| -rw-r--r-- | tests/functional/40_unary_op.sy | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/functional/40_unary_op.sy b/tests/functional/40_unary_op.sy new file mode 100644 index 0000000..eb5e28c --- /dev/null +++ b/tests/functional/40_unary_op.sy @@ -0,0 +1,11 @@ +int main() { + int a; + a = 10; + if (+-!!!a) { + a = - - -1; + } + else { + a = 0; + } + return a; +}
\ No newline at end of file |
