aboutsummaryrefslogtreecommitdiff
path: root/tests/escapei_float.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/escapei_float.c')
-rw-r--r--tests/escapei_float.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/escapei_float.c b/tests/escapei_float.c
index a947f24..e92e3e0 100644
--- a/tests/escapei_float.c
+++ b/tests/escapei_float.c
@@ -16,8 +16,10 @@ static double escape_func(size_t argc, const struct ejit_arg args[argc])
return func(a, b);
}
-int main()
+int main(int argc, char *argv[])
{
+ (void)argv;
+ bool do_jit = argc > 1;
struct ejit_operand operands[2] = {
EJIT_OPERAND_GPR(0, EJIT_POINTER),
EJIT_OPERAND_GPR(1, EJIT_POINTER)