Restore "Move metadata linking after lazy global materialization/linking."
[oota-llvm.git] / test / Linker / 2003-08-23-RecursiveOpaqueTypeResolve.ll
1 ; It's a bad idea to go recursively traipsing through types without a safety 
2 ; net.
3
4 ; RUN: llvm-as < %s > %t.out1.bc
5 ; RUN: echo "%M = type { %M*, i32* }" | llvm-as > %t.out2.bc
6 ; RUN: llvm-link %t.out1.bc %t.out2.bc
7
8 %T1 = type opaque
9 %M = type { %M*, %T1* }
10