aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/pr21494.ll
blob: 8a17233b0eb6e3df736d12a199a9244b0fa72f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; RUN: llvm-link %s -S -o - | FileCheck %s

@g1 = private global i8 0
; CHECK-NOT: @g1

@g2 = linkonce_odr global i8 0
; CHECK-NOT: @g2

@a1 = private alias i8* @g1
; CHECK-NOT: @a1

@a2 = linkonce_odr alias i8* @g2
; CHECK-NOT: @a2

define private void @f1() {
  ret void
}
; CHECK-NOT: @f1

define linkonce_odr void @f2() {
  ret void
}
; CHECK-NOT: @f2