summaryrefslogtreecommitdiff
path: root/llvm/test/ExecutionEngine/OrcLazy/private_linkage.ll
blob: 19750768c5754d8d5df35e4a807513e1d2e6d70b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: lli -jit-kind=orc-lazy %s

define private void @foo() {
entry:
  ret void
}

define void @"\01l_bar"() {
entry:
  ret void
}

define i32 @main(i32 %argc, ptr nocapture readnone %argv) {
entry:
  call void @foo()
  call void @"\01l_bar"()
  ret i32 0
}