aboutsummaryrefslogtreecommitdiff
path: root/tests/ldi_d.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ldi_d.c')
-rw-r--r--tests/ldi_d.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ldi_d.c b/tests/ldi_d.c
index 7c9b36c..2aad277 100644
--- a/tests/ldi_d.c
+++ b/tests/ldi_d.c
@@ -4,8 +4,10 @@
static double data = -1.5;
-int main()
+int main(int argc, char *argv[])
{
+ (void)argv;
+ bool do_jit = argc > 1;
struct ejit_func *f = ejit_create_func(EJIT_TYPE(double), 0, NULL);
ejit_ldi_d(f, EJIT_FPR(0), &data);
ejit_retr_f(f, EJIT_FPR(0));