summaryrefslogtreecommitdiff
path: root/llvm/test/ExecutionEngine/MCJIT/test-return.ll
blob: f6d4c9b49e6075539abc89cdd3e0fd25f72cf822 (plain)
1
2
3
4
5
6
7
8
9
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null

define i32 @main() nounwind uwtable {
entry:
  %retval = alloca i32, align 4
  store i32 0, ptr %retval
  ret i32 0
}