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

@ -22,13 +22,15 @@ fn print_user(u User) {
fn test_add() {
println('test_add()')
x := 2
y :=3
z := x * y
q := y - x
y := 3
sum := x + y
product := x * y
diff := y - x
print_number(x)
print_number(y)
print_number(z)
print_number(q)
print_number(sum)
print_number(product)
print_number(diff)
}
fn main() {

View File

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