[llvm-commits] CVS: llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Aug 23 15:31:01 PDT 2003
Changes in directory llvm/test/Regression/Linker:
2003-08-23-GlobalVarLinking.ll updated: 1.1 -> 1.2
---
Log message:
Test functions as well as globals
---
Diffs of the changes:
Index: llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll
diff -u llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll:1.1 llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll:1.2
--- llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll:1.1 Sat Aug 23 10:53:38 2003
+++ llvm/test/Regression/Linker/2003-08-23-GlobalVarLinking.ll Sat Aug 23 15:30:29 2003
@@ -1,8 +1,9 @@
; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "%S = external global { int, opaque* }" | as > Output/%s.out2.bc
+; RUN: echo "%S = external global { int, opaque* } declare void %F(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 }
+declare void %F(int*)
More information about the llvm-commits
mailing list