[llvm-commits] CVS: llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal3.ll

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 29 00:30:01 PDT 2003


Changes in directory llvm/test/Regression/Linker:

2003-08-28-TypeResolvesGlobal3.ll added (r1.1)

---
Log message:

Yet ANOTHER complication that the libstdc++ library runs into linking...


---
Diffs of the changes:

Index: llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal3.ll
diff -c /dev/null llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal3.ll:1.1
*** /dev/null	Fri Aug 29 00:29:48 2003
--- llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal3.ll	Fri Aug 29 00:29:38 2003
***************
*** 0 ****
--- 1,15 ----
+ ; RUN: as < %s > Output/%s.out1.bc
+ ; RUN: echo "%S = type int" | as > Output/%s.out2.bc
+ ; RUN: link Output/%s.out[21].bc
+ 
+ %S = type opaque
+ 
+ ; GLobal using the resolved function prototype
+ global void(%S*)* %foo
+ 
+ void %foo(int* %V) {
+   ret void
+ }
+ 
+ declare void %foo(%S*)
+ 





More information about the llvm-commits mailing list