llvm.org GIT mirror llvm / 38e3fd3
Ok, the last bug fix was not good enough to fix libstdc++. Maybe this one will be git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8203 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 17 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: as < %s > Output/%s.out1.bc
1 ; RUN: echo "%S = type int" | as > Output/%s.out2.bc
2 ; RUN: link Output/%s.out[21].bc
3
4 %S = type opaque
5
6 void %foo(int* %V) {
7 ret void
8 }
9
10 declare void %foo(%S*)
11
12 void %other() {
13 call void %foo(%S* null) ; Add a use of the unresolved proto
14 call void %foo(int* null) ; Add a use of the resolved function
15 ret void
16 }