llvm.org GIT mirror llvm / 6f2ff7e
Test functions as well as globals git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8079 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: as < %s > Output/%s.out1.bc
1 ; RUN: echo "%S = external global { int, opaque* }" | as > Output/%s.out2.bc
1 ; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | as > Output/%s.out2.bc
22 ; RUN: link Output/%s.out[12].bc | dis | not grep opaque
33
44 ; After linking this testcase, there should be no opaque types left. The two
55 ; S's should cause the opaque type to be resolved to 'int'.
66 %S = global { int, int* } { int 5, int* null }
77
8 declare void %F(int*)