summaryrefslogtreecommitdiff
path: root/llvm/test/ExecutionEngine/Orc/trivial-return-zero.ll
blob: 1ddefa4a8c671ec5bfc9818f7bb0e83ffd9336b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
; Check that we can execute a program that does nothing and just returns zero.
;
; This is the simplest possible JIT smoke test. If it fails it indicates a
; critical failure in the JIT (e.g. failure to set memory permissions) that's
; likely to affect all programs.
;
; RUN: %lli %s

define i32 @main(i32 %argc, i8** %argv)  {
  ret i32 0
}