mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
0178d23ade
We already linked available_externally and linkonce lazily, this just adds declarations to the list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254917 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
339 B
LLVM
13 lines
339 B
LLVM
; RUN: llvm-link %s %S/Inputs/ConstantGlobals.ll -S | FileCheck %s
|
|
; RUN: llvm-link %S/Inputs/ConstantGlobals.ll %s -S | FileCheck %s
|
|
|
|
; CHECK-DAG: @X = constant [1 x i32] [i32 8]
|
|
@X = external global [1 x i32]
|
|
|
|
; CHECK-DAG: @Y = external global [1 x i32]
|
|
@Y = external global [1 x i32]
|
|
|
|
define [1 x i32]* @use-Y() {
|
|
ret [1 x i32] *@Y
|
|
}
|