1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/Linker/available_externally_a.ll
Peter Collingbourne 4ab9ae596a Linker: Move special casing for available_externally in IRMover to clients. NFCI.
The goal is to simplify the semantic model for clients of IRMover.

Differential Revision: https://reviews.llvm.org/D29435

llvm-svn: 293864
2017-02-02 05:12:15 +00:00

8 lines
267 B
LLVM

; RUN: llvm-link %s %p/available_externally_b.ll -S -o - | FileCheck %s
; RUN: llvm-link %s -S -o - | FileCheck --check-prefix=AE-ONLY %s
@foo = available_externally unnamed_addr constant i32 0
; CHECK: @foo = hidden unnamed_addr constant i32 0
; AE-ONLY-NOT: @foo