aboutsummaryrefslogtreecommitdiff
path: root/tests/ldxr_i32.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ldxr_i32.c')
-rw-r--r--tests/ldxr_i32.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ldxr_i32.c b/tests/ldxr_i32.c
index 982e0a3..5f5783a 100644
--- a/tests/ldxr_i32.c
+++ b/tests/ldxr_i32.c
@@ -19,9 +19,9 @@ int main(int argc, char *argv[])
ejit_select_compile_func(f, 2, 0, false, do_jit);
- assert(erf2(f, EJIT_ARG(data, void *), EJIT_ARG(0, unsigned)) == -1);
- assert(erf2(f, EJIT_ARG(data, void *), EJIT_ARG(4, unsigned)) == 0);
- assert(erf2(f, EJIT_ARG(data, void *),
+ assert(erfi2(f, EJIT_ARG(data, void *), EJIT_ARG(0, unsigned)) == -1);
+ assert(erfi2(f, EJIT_ARG(data, void *), EJIT_ARG(4, unsigned)) == 0);
+ assert(erfi2(f, EJIT_ARG(data, void *),
EJIT_ARG(8, unsigned)) == 0x42424242);
ejit_destroy_func(f);