Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.
[oota-llvm.git] / test / Linker / 2003-08-28-TypeResolvesGlobal3.ll
1 ; RUN: llvm-as < %s > Output/%s.out1.bc
2 ; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
3 ; RUN: llvm-link Output/%s.out[21].bc
4
5 %S = type opaque
6
7 ; GLobal using the resolved function prototype
8 global void(%S*)* %foo
9
10 void %foo(int* %V) {
11   ret void
12 }
13
14 declare void %foo(%S*)
15