Implemented negation
This commit is contained in:
7
tests/programs/negation.q
Normal file
7
tests/programs/negation.q
Normal file
@ -0,0 +1,7 @@
|
||||
main() {
|
||||
syscall(60, f(-32))
|
||||
}
|
||||
|
||||
f(x) {
|
||||
return -x
|
||||
}
|
Reference in New Issue
Block a user