aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll')
-rw-r--r--test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll b/test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll
new file mode 100644
index 0000000..30b4dd8
--- /dev/null
+++ b/test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll
@@ -0,0 +1,10 @@
+; RUN: %lli -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
+}