41aef3230b27d1a7558d8514ada41e4134f893c7
[oota-llvm.git] / test / Linker / 2003-08-28-TypeResolvesGlobal.ll
1 ; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
2 ; RUN: echo "%S = type int" | llvm-upgrade | llvm-as > %t.out2.bc
3 ; RUN: llvm-link %t.out2.bc %t.out1.bc
4
5 %S = type opaque
6
7 void %foo(int* %V) {
8   ret void
9 }
10
11 declare void %foo(%S*)
12