[llvm-commits] CVS: llvm/test/Regression/Linker/2005-12-06-AppendingZeroLengthArrays.ll

Chris Lattner lattner at cs.uiuc.edu
Tue Dec 6 09:30:06 PST 2005



Changes in directory llvm/test/Regression/Linker:

2005-12-06-AppendingZeroLengthArrays.ll added (r1.1)
---
Log message:

new testcase for PR662: http://llvm.cs.uiuc.edu/PR662 


---
Diffs of the changes:  (+8 -0)

 2005-12-06-AppendingZeroLengthArrays.ll |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/test/Regression/Linker/2005-12-06-AppendingZeroLengthArrays.ll
diff -c /dev/null llvm/test/Regression/Linker/2005-12-06-AppendingZeroLengthArrays.ll:1.1
*** /dev/null	Tue Dec  6 11:30:05 2005
--- llvm/test/Regression/Linker/2005-12-06-AppendingZeroLengthArrays.ll	Tue Dec  6 11:29:54 2005
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: echo "%G = appending global [0 x int] zeroinitializer" | llvm-as > %t.out2.bc
+ ; RUN: llvm-as < %s > %t.out1.bc
+ ; RUN: llvm-link %t.out[12].bc | llvm-dis | grep '%G ='
+ 
+ ; When linked, the globals should be merged, and the result should still 
+ ; be named '%G'.
+ 
+ %G = appending global [1 x int] zeroinitializer






More information about the llvm-commits mailing list