aboutsummaryrefslogtreecommitdiff
path: root/tests/stxr_16.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stxr_16.c')
-rw-r--r--tests/stxr_16.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/stxr_16.c b/tests/stxr_16.c
index 865eda0..901f084 100644
--- a/tests/stxr_16.c
+++ b/tests/stxr_16.c
@@ -4,8 +4,10 @@
static uint16_t data[] = { 0x1212, 0x0000, 0x3434 };
-int main()
+int main(int argc, char *argv[])
{
+ (void)argv;
+ bool do_jit = argc > 1;
struct ejit_operand operands[3] = {
EJIT_OPERAND_GPR(0, EJIT_TYPE(void *)),
EJIT_OPERAND_GPR(1, EJIT_TYPE(int)),