mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
Update test to pass .ll to llvm-link and use Inputs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220924 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5f5c65058b
commit
6c5d2989be
test/Linker
@ -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…
x
Reference in New Issue
Block a user