llvm.org GIT mirror llvm / 0178d23 test / Linker / comdat14.ll
0178d23

Tree @0178d23 (Download .tar.gz)

comdat14.ll @0178d23raw · history · blame

1
2
3
4
5
6
7
8
9
; 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