[llvm-commits] CVS: llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll

Chris Lattner lattner at cs.uiuc.edu
Sat Aug 23 10:54:00 PDT 2003


Changes in directory llvm/test/Regression/Linker:

2003-08-23-GlobalVarLinking.ll added (r1.1)

---
Log message:

New testcase, which is basically the problem with 176.gcc


---
Diffs of the changes:

Index: llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll
diff -c /dev/null llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll:1.1
*** /dev/null	Sat Aug 23 10:53:49 2003
--- llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll	Sat Aug 23 10:53:38 2003
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: as < %s > Output/%s.out1.bc
+ ; RUN: echo "%S = external global { int, opaque* }" | as > Output/%s.out2.bc
+ ; RUN: link Output/%s.out[12].bc | dis | not grep opaque
+ 
+ ; After linking this testcase, there should be no opaque types left.  The two
+ ; S's should cause the opaque type to be resolved to 'int'.
+ %S = global { int, int* } { int 5, int* null }
+ 





More information about the llvm-commits mailing list