aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/ExecutionEngine/OrcLazy/anonymous_globals.ll
blob: 3800ad715000255e76423440bec83ae5034e1af0 (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 @0() {
entry:
  ret void
}

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

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