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