mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Update test to pass .ll to llvm-link and use Inputs.
llvm-svn: 220924
This commit is contained in:
parent
dc51b0f8dd
commit
7f00ad4741
@ -1,9 +1,6 @@
|
||||
; Test that appending linkage works correctly when arrays are the same size.
|
||||
; RUN: llvm-link %s %S/Inputs/ConstantGlobals3.ll -S | FileCheck %s
|
||||
; RUN: llvm-link %S/Inputs/ConstantGlobals3.ll %s -S | FileCheck %s
|
||||
|
||||
; RUN: echo "@X = external constant [1 x i32] " | \
|
||||
; RUN: llvm-as > %t.2.bc
|
||||
; RUN: llvm-as < %s > %t.1.bc
|
||||
; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
|
||||
; CHECK: constant
|
||||
; CHECK: @X = external constant [1 x i32]
|
||||
|
||||
@X = external global [1 x i32] ; <[1 x i32]*> [#uses=0]
|
||||
@X = external global [1 x i32]
|
||||
|
1
test/Linker/Inputs/ConstantGlobals3.ll
Normal file
1
test/Linker/Inputs/ConstantGlobals3.ll
Normal file
@ -0,0 +1 @@
|
||||
@X = external constant [1 x i32]
|
Loading…
Reference in New Issue
Block a user