llvm.org GIT mirror llvm / f406d28
TEstcases for old bugs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3024 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 18 years ago
2 changed file(s) with 18 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: as < %s > Output/%s.bc
1 ; RUN: echo | as > Output/%s.tmp.bc
2 ; RUN: link Output/%s.tmp.bc Output/%s.bc
3
4 %X = constant int 5
5 %Y = internal global [2 x int*] [ int* %X, int * %X]
6
7
0 ; This fails linking when it is linked with an empty file as the first object file
1
2 ; RUN: touch Output/LinkTest1.ll
3 ; RUN: as Output/LinkTest1.ll
4 ; RUN: as < %s > Output/LinkTest2.bc
5 ; RUN: link Output/LinkTest[12].bc
6
7 %work = global int (int, int)* %zip
8
9 declare int %zip(int, int)