aboutsummaryrefslogtreecommitdiff
path: root/tests/ldi_f.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ldi_f.c')
-rw-r--r--tests/ldi_f.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ldi_f.c b/tests/ldi_f.c
index 48974d2..76a4f34 100644
--- a/tests/ldi_f.c
+++ b/tests/ldi_f.c
@@ -4,8 +4,10 @@
static float 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(float), 0, NULL);
ejit_ldi_f(f, EJIT_FPR(0), &data);
ejit_retr_f(f, EJIT_FPR(0));