1# This test makes sure that the example builds and executes as expected.
2# Instructions for debugging can be found in LLJITWithRemoteDebugging.cpp
3
4# RUN: LLJITWithRemoteDebugging %p/Inputs/argc_sub1_elf.ll
5# CHECK: Running: {{.*}}/Inputs/argc_sub1_elf.ll
6# CHECK: Exit code: 0
7
8# RUN: LLJITWithRemoteDebugging %p/Inputs/argc_sub1_elf.ll --args 2nd 3rd 4th
9# CHECK: Running: {{.*}}/Inputs/argc_sub1_elf.ll 2nd 3rd 4th
10# CHECK: Exit code: 3
11