brintos

brintos / llvm-project-archived public Read only

0
0
Text · 353 B · c472ae0 Raw
18 lines · plain
1; Check that we can execute a program that makes a single call to an internal2; linkage function that returns zero.3;4; Failure may indicate a problem with branch relocation handling in the JIT5; linker.6;7; RUN: %lli %s8 9define internal 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