aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/OrcMCJIT/remote/simpletest-remote.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionEngine/OrcMCJIT/remote/simpletest-remote.ll')
-rw-r--r--test/ExecutionEngine/OrcMCJIT/remote/simpletest-remote.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ExecutionEngine/OrcMCJIT/remote/simpletest-remote.ll b/test/ExecutionEngine/OrcMCJIT/remote/simpletest-remote.ll
new file mode 100644
index 0000000..45e11fc
--- /dev/null
+++ b/test/ExecutionEngine/OrcMCJIT/remote/simpletest-remote.ll
@@ -0,0 +1,10 @@
+; RUN: %lli -jit-kind=orc-mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+
+define i32 @bar() nounwind {
+ ret i32 0
+}
+
+define i32 @main() nounwind {
+ %r = call i32 @bar( ) ; <i32> [#uses=1]
+ ret i32 %r
+}