Negate integral expressions
This commit is contained in:
3
tests/vm/parse_negative_numbers.elna
Normal file
3
tests/vm/parse_negative_numbers.elna
Normal file
@ -0,0 +1,3 @@
|
||||
proc main() {
|
||||
printi(-8);
|
||||
}
|
3
tests/vm/print_negate.elna
Normal file
3
tests/vm/print_negate.elna
Normal file
@ -0,0 +1,3 @@
|
||||
proc main() {
|
||||
printi(-(8));
|
||||
}
|
Reference in New Issue
Block a user