1
0
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:
Rafael Espindola 2014-10-30 20:23:59 +00:00
parent dc51b0f8dd
commit 7f00ad4741
2 changed files with 5 additions and 7 deletions

View File

@ -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]

View File

@ -0,0 +1 @@
@X = external constant [1 x i32]