[llvm-commits] CVS: llvm/test/Regression/Linker/ConstantGlobals3.ll

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 4 19:16:12 PDT 2004



Changes in directory llvm/test/Regression/Linker:

ConstantGlobals3.ll added (r1.1)
---
Log message:

Another testcase for constness linkage


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

Index: llvm/test/Regression/Linker/ConstantGlobals3.ll
diff -c /dev/null llvm/test/Regression/Linker/ConstantGlobals3.ll:1.1
*** /dev/null	Mon Oct  4 21:16:11 2004
--- llvm/test/Regression/Linker/ConstantGlobals3.ll	Mon Oct  4 21:16:01 2004
***************
*** 0 ****
--- 1,7 ----
+ ; Test that appending linkage works correctly when arrays are the same size.
+ 
+ ; RUN: echo "%X = uninitialized constant [1x int]" | llvm-as > %t.2.bc
+ ; RUN: llvm-as < %s > %t.1.bc
+ ; RUN: llvm-link %t.[12].bc | llvm-dis | grep constant
+ 
+ %X = uninitialized global [1 x int] 






More information about the llvm-commits mailing list