Restore "Move metadata linking after lazy global materialization/linking."
[oota-llvm.git] / test / Linker / 2003-08-23-RecursiveOpaqueTypeResolve.ll
index 90e93335d06ce6623fc8a377afa0e31073cbd599..d810dba6589f23358a22cff289242611a038b36f 100644 (file)
@@ -1,8 +1,10 @@
 ; It's a bad idea to go recursively traipsing through types without a safety 
 ; net.
 
-; RUN: llvm-as < %s > Output/%s.out1.bc
-; RUN: echo "%S = type { %S*, int* }" | llvm-as > Output/%s.out2.bc
-; RUN: llvm-link Output/%s.out[12].bc
+; RUN: llvm-as < %s > %t.out1.bc
+; RUN: echo "%M = type { %M*, i32* }" | llvm-as > %t.out2.bc
+; RUN: llvm-link %t.out1.bc %t.out2.bc
+
+%T1 = type opaque
+%M = type { %M*, %T1* }
 
-%S = type { %S*, opaque* }