summaryrefslogtreecommitdiff
path: root/llvm/test/Linker/lto-attributes.ll
blob: 8c2f994d3fb19e6b2936170f841629e136405290 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-link -S %s -o - | FileCheck %s

; CHECK-DAG: @foo = private externally_initialized global ptr null
@foo = private externally_initialized global ptr null

@useFoo = global ptr @foo

; CHECK-DAG: @array = appending global [7 x i8] c"abcdefg", align 1
@array = appending global [7 x i8] c"abcdefg", align 1