aboutsummaryrefslogtreecommitdiff
blob: bd1f906fb04e64346822d6a8ff34b0cf029b1590 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: %lli -force-interpreter %s

declare void @exit(i32)
declare i32 @rand()

define i32 @main() {
  %ret = call i32 @rand()
  call void @exit(i32 0)
  ret i32 %ret
}