llvm.org GIT mirror llvm / 205f9fc
Yet ANOTHER complication that the libstdc++ library runs into linking... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8207 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 15 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 ; GLobal using the resolved function prototype
7 global void(%S*)* %foo
8
9 void %foo(int* %V) {
10 ret void
11 }
12
13 declare void %foo(%S*)
14