aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/OrcLazy/private_linkage.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/ExecutionEngine/OrcLazy/private_linkage.ll')
-rw-r--r--test/ExecutionEngine/OrcLazy/private_linkage.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/ExecutionEngine/OrcLazy/private_linkage.ll b/test/ExecutionEngine/OrcLazy/private_linkage.ll
new file mode 100644
index 0000000..11813dd
--- /dev/null
+++ b/test/ExecutionEngine/OrcLazy/private_linkage.ll
@@ -0,0 +1,12 @@
+; RUN: lli -jit-kind=orc-lazy %s
+
+define private void @_ZL3foov() {
+entry:
+ ret void
+}
+
+define i32 @main(i32 %argc, i8** nocapture readnone %argv) {
+entry:
+ tail call void @_ZL3foov()
+ ret i32 0
+}