aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/OrcMCJIT/remote/multi-module-a.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionEngine/OrcMCJIT/remote/multi-module-a.ll')
-rw-r--r--test/ExecutionEngine/OrcMCJIT/remote/multi-module-a.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ExecutionEngine/OrcMCJIT/remote/multi-module-a.ll b/test/ExecutionEngine/OrcMCJIT/remote/multi-module-a.ll
new file mode 100644
index 0000000..aa34348
--- /dev/null
+++ b/test/ExecutionEngine/OrcMCJIT/remote/multi-module-a.ll
@@ -0,0 +1,9 @@
+; RUN: %lli -jit-kind=orc-mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+
+declare i32 @FB()
+
+define i32 @main() nounwind {
+ %r = call i32 @FB( ) ; <i32> [#uses=1]
+ ret i32 %r
+}
+