xref: /llvm-project/llvm/test/ExecutionEngine/Orc/trivial-return-zero.ll (revision 563ce9aa4ab22f10e0aa2799a3562a65a629ad0a)
1; Check that we can execute a program that does nothing and just returns zero.
2;
3; This is the simplest possible JIT smoke test. If it fails it indicates a
4; critical failure in the JIT (e.g. failure to set memory permissions) that's
5; likely to affect all programs.
6;
7; RUN: %lli %s
8
9define i32 @main(i32 %argc, i8** %argv)  {
10  ret i32 0
11}
12