diff options
Diffstat (limited to 'tests/functional/37_op_priority3.sy')
| -rw-r--r-- | tests/functional/37_op_priority3.sy | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/functional/37_op_priority3.sy b/tests/functional/37_op_priority3.sy new file mode 100644 index 0000000..e04c930 --- /dev/null +++ b/tests/functional/37_op_priority3.sy @@ -0,0 +1,7 @@ +//test the priority of unary operator and binary operator +int main(){ + int a, b; + a = 10; + b = 30; + return a - -5 + b + -5; +}
\ No newline at end of file |
