Added operator precedence test
This commit is contained in:
parent
ec2001fe1e
commit
78ddfa6dbc
3 changed files with 8 additions and 2 deletions
5
tests/programs/precedence.q
Normal file
5
tests/programs/precedence.q
Normal file
|
@ -0,0 +1,5 @@
|
|||
main() {
|
||||
x := 2
|
||||
y := 3
|
||||
syscall(60, (x + y + (x + y) * (x + y)) / x / y + x + y)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue