aboutsummaryrefslogtreecommitdiff
path: root/tests/ltr.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-07-13 20:56:26 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-07-13 20:56:26 +0300
commitae9e103995c1d809be7b8717905593e7dbbf9d17 (patch)
tree0ceaf6ee66e1d67bb8d0b9dd6f37b5687e4c2f09 /tests/ltr.c
parente618924df98d4ee5037db86c768a8c8014e49c4c (diff)
downloadejit-ae9e103995c1d809be7b8717905593e7dbbf9d17.tar.gz
ejit-ae9e103995c1d809be7b8717905593e7dbbf9d17.zip
bytecode tests pass
Diffstat (limited to 'tests/ltr.c')
-rw-r--r--tests/ltr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ltr.c b/tests/ltr.c
index 85f7af0..310362c 100644
--- a/tests/ltr.c
+++ b/tests/ltr.c
@@ -17,11 +17,11 @@ int main()
ejit_select_compile_func(f, 2, 0, EJIT_USE64(long), do_jit);
assert(ejit_run_func_2(f, EJIT_ARG(1, long), EJIT_ARG(1, long)) == 0);
- assert(ejit_run_func_2(f, EJIT_ARG(1, long), EJIT_ARG(0, long)) == 1);
+ assert(ejit_run_func_2(f, EJIT_ARG(1, long), EJIT_ARG(0, long)) == 0);
assert(ejit_run_func_2(f,
EJIT_ARG(0x0fffffffffffffff, long),
- EJIT_ARG(0x0ffffffffffffff0, long)) == 1);
+ EJIT_ARG(0x0ffffffffffffff0, long)) == 0);
assert(ejit_run_func_2(f,
EJIT_ARG(0x7fffffffffffffff, long),