aboutsummaryrefslogtreecommitdiff
path: root/tests/stxr_8.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stxr_8.c')
-rw-r--r--tests/stxr_8.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/stxr_8.c b/tests/stxr_8.c
index ede62d0..da40eee 100644
--- a/tests/stxr_8.c
+++ b/tests/stxr_8.c
@@ -4,8 +4,10 @@
static uint8_t data[] = { 0x12, 0x00, 0x34 };
-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)),