diff options
Diffstat (limited to 'test/ExecutionEngine/OrcMCJIT/test-return.ll')
-rw-r--r-- | test/ExecutionEngine/OrcMCJIT/test-return.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ExecutionEngine/OrcMCJIT/test-return.ll b/test/ExecutionEngine/OrcMCJIT/test-return.ll new file mode 100644 index 0000000..f7a1cdd --- /dev/null +++ b/test/ExecutionEngine/OrcMCJIT/test-return.ll @@ -0,0 +1,8 @@ +; RUN: %lli -jit-kind=orc-mcjit %s > /dev/null + +define i32 @main() nounwind uwtable { +entry: + %retval = alloca i32, align 4 + store i32 0, i32* %retval + ret i32 0 +} |