mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
TEstcases for old bugs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3024 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b1778bccf
commit
f406d28693
8
test/Linker/2002-07-17-GlobalFail.ll
Normal file
8
test/Linker/2002-07-17-GlobalFail.ll
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
; RUN: as < %s > Output/%s.bc
|
||||||
|
; RUN: echo | as > Output/%s.tmp.bc
|
||||||
|
; RUN: link Output/%s.tmp.bc Output/%s.bc
|
||||||
|
|
||||||
|
%X = constant int 5
|
||||||
|
%Y = internal global [2 x int*] [ int* %X, int * %X]
|
||||||
|
|
||||||
|
|
10
test/Linker/2002-07-17-LinkTest2.ll
Normal file
10
test/Linker/2002-07-17-LinkTest2.ll
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
; This fails linking when it is linked with an empty file as the first object file
|
||||||
|
|
||||||
|
; RUN: touch Output/LinkTest1.ll
|
||||||
|
; RUN: as Output/LinkTest1.ll
|
||||||
|
; RUN: as < %s > Output/LinkTest2.bc
|
||||||
|
; RUN: link Output/LinkTest[12].bc
|
||||||
|
|
||||||
|
%work = global int (int, int)* %zip
|
||||||
|
|
||||||
|
declare int %zip(int, int)
|
Loading…
Reference in New Issue
Block a user