llvm/test/Linker/comdat14.ll
Rafael Espindola 8855924964 Don't copy information from aliasee to alias.
They are independent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254541 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-02 20:03:17 +00:00

10 lines
240 B
LLVM

; RUN: llvm-link -S %s %p/Inputs/comdat14.ll -o - | FileCheck %s
$c = comdat any
@v = global i32 0, comdat ($c)
; CHECK: @v = global i32 0, comdat($c)
; CHECK: @v2 = extern_weak dllexport global i32
; CHECK: @v3 = extern_weak global i32