llvm-6502/test/Linker/lto-attributes.ll
Rafael Espindola b3da08deb3 Copy externally_initialized in GlobalVariable::copyAttributesFrom.
Patch by Kevin Frei!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221620 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-10 18:41:59 +00:00

8 lines
281 B
LLVM

; RUN: llvm-link -S %s -o - | FileCheck %s
; CHECK: @foo = private externally_initialized global i8* null
@foo = private externally_initialized global i8* null
; CHECK: @array = appending global [7 x i8] c"abcdefg", align 1
@array = appending global [7 x i8] c"abcdefg", align 1