Erythro/tests/comparison1
Curle 430829e4ec First files.
Currently has two bugs.

First, all functions are resolved to index 0 (currently PrintInteger)

Second, the register used for returning is immediately overwritten by the next allocated register. This means addition of function return values is a little silly.
2020-09-10 01:56:16 +01:00

24 lines
162 B
Plaintext

int x;
x = 1 < 2;
print x;
x = 1 <= 2;
print x;
x = 1 > 2;
print x;
x = 1 => 2;
print x;
x = 1 != 2;
print x;
x = 1 =? 2;
print x;
x = 18 =? 18;
print x;