18e5a8f62SLang Hames; RUN: llc -filetype=obj -o %t %p/Inputs/foo-return-i32-0.ll 237a66413SLang Hames; RUN: lli -jit-kind=orc-lazy -extra-object %t %s 337a66413SLang Hames; 437a66413SLang Hames; Check that we can load an object file and call a function in it. 537a66413SLang Hames 637a66413SLang Hamesdeclare i32 @foo() 737a66413SLang Hames 8*2d56d8c4SMatt Arsenaultdefine i32 @main(i32 %argc, ptr %argv) { 937a66413SLang Hamesentry: 1037a66413SLang Hames %0 = call i32 @foo() 1137a66413SLang Hames ret i32 %0 1237a66413SLang Hames} 1337a66413SLang Hames 14