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