18 lines · plain
1; Check that we can execute a program that makes a single call to an external2; linkage function that returns zero.3;4; Failure may indicate a problem with branch, GOT, or PLT relocation handling5; in the JIT linker.6;7; RUN: %lli %s8 9define i32 @foo() {10 ret i32 011}12 13define i32 @main(i32 %argc, i8** %argv) {14entry:15 %0 = call i32 @foo()16 ret i32 %017}18