2014-12-09 02:45:16 +08:00
|
|
|
; 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
|
|
|
|
|
2015-09-11 11:22:04 +08:00
|
|
|
@a1 = private alias i8, i8* @g1
|
2014-12-09 02:45:16 +08:00
|
|
|
; CHECK-NOT: @a1
|
|
|
|
|
2015-09-11 11:22:04 +08:00
|
|
|
@a2 = linkonce_odr alias i8, i8* @g2
|
2014-12-09 02:45:16 +08:00
|
|
|
; CHECK-NOT: @a2
|
|
|
|
|
|
|
|
define private void @f1() {
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
; CHECK-NOT: @f1
|
|
|
|
|
|
|
|
define linkonce_odr void @f2() {
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
; CHECK-NOT: @f2
|