mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
5c025fc0a6
Summary: There is no reason to have a weak reference because the external definition will be weak. Reviewers: rafael Subscribers: llvm-commits, tejohnson Differential Revision: http://reviews.llvm.org/D19267 From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266750 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
234 B
LLVM
10 lines
234 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 = external dllexport global i32
|
|
; CHECK: @v3 = external global i32
|