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