blob: c472ae0f038ad37d130b99c3e35d8199c0b1ca1c [file] [log] [blame]
; Check that we can execute a program that makes a single call to an internal
; linkage function that returns zero.
;
; Failure may indicate a problem with branch relocation handling in the JIT
; linker.
;
; RUN: %lli %s
define internal i32 @foo() {
ret i32 0
}
define i32 @main(i32 %argc, i8** %argv) {
entry:
%0 = call i32 @foo()
ret i32 %0
}