[llvm-commits] CVS: llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal2.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Aug 28 23:55:01 PDT 2003
Changes in directory llvm/test/Regression/Linker:
2003-08-28-TypeResolvesGlobal2.ll added (r1.1)
---
Log message:
Ok, the last bug fix was not good enough to fix libstdc++. Maybe this one will be
---
Diffs of the changes:
Index: llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal2.ll
diff -c /dev/null llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal2.ll:1.1
*** /dev/null Thu Aug 28 23:54:33 2003
--- llvm/test/Regression/Linker/2003-08-28-TypeResolvesGlobal2.ll Thu Aug 28 23:54:23 2003
***************
*** 0 ****
--- 1,17 ----
+ ; 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
+
+ void %foo(int* %V) {
+ ret void
+ }
+
+ declare void %foo(%S*)
+
+ void %other() {
+ call void %foo(%S* null) ; Add a use of the unresolved proto
+ call void %foo(int* null) ; Add a use of the resolved function
+ ret void
+ }
More information about the llvm-commits
mailing list