x64: fix tests

pull/5555/head
Alexander Medvednikov 2020-06-28 14:05:10 +02:00
parent bc9f8babaa
commit 9feaff3464
2 changed files with 9 additions and 6 deletions

View File

@ -23,12 +23,14 @@ fn test_add() {
println('test_add()') println('test_add()')
x := 2 x := 2
y := 3 y := 3
z := x * y sum := x + y
q := y - x product := x * y
diff := y - x
print_number(x) print_number(x)
print_number(y) print_number(y)
print_number(z) print_number(sum)
print_number(q) print_number(product)
print_number(diff)
} }
fn main() { fn main() {

View File

@ -3,6 +3,7 @@ test_add()
2 2
3 3
5 5
1 6
0
end end