summaryrefslogtreecommitdiff
path: root/test/Linker/unnamed-addr2-a.ll
blob: f43f19a8f01e48dacbdefb9b652f2772cd0877d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-link %s %p/unnamed-addr2-b.ll -S -o - | FileCheck %s

define i32 @bar() {
entry:
  %call = tail call i32 @foo()
  ret i32 %call
}

declare i32 @foo()

; CHECK: define unnamed_addr i32 @foo()