diff options
Diffstat (limited to 'tests/ldxr_u16.c')
-rw-r--r-- | tests/ldxr_u16.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ldxr_u16.c b/tests/ldxr_u16.c index e8f517f..430635a 100644 --- a/tests/ldxr_u16.c +++ b/tests/ldxr_u16.c @@ -19,10 +19,10 @@ int main(int argc, char *argv[]) ejit_select_compile_func(f, 2, 0, false, do_jit); - assert(erf2(f, EJIT_ARG(data, void *), + assert(erfi2(f, EJIT_ARG(data, void *), EJIT_ARG(0, unsigned)) == 0xffff); - assert(erf2(f, EJIT_ARG(data, void *), EJIT_ARG(2, unsigned)) == 0); - assert(erf2(f, EJIT_ARG(data, void *), + assert(erfi2(f, EJIT_ARG(data, void *), EJIT_ARG(2, unsigned)) == 0); + assert(erfi2(f, EJIT_ARG(data, void *), EJIT_ARG(4, unsigned)) == 0x4242); ejit_destroy_func(f); |