Merging r261384:
[oota-llvm.git] / test / Linker / 2003-08-20-OpaqueTypeResolve.ll
index 95d3f09980709203f88feaad06cb0e3a8430f4fe..175146f12212dcd399e4cf23626eac232042aacc 100644 (file)
@@ -1,8 +1,8 @@
+; RUN: llvm-as < %s > %t.out1.bc
+; RUN: echo "%M = type { i32, i32* } " | llvm-as > %t.out2.bc
+; RUN: llvm-link %t.out1.bc %t.out2.bc
 
-; RUN: llvm-as < %s > Output/%s.out1.bc
-; RUN: echo "%S = type { int, int* }" | llvm-as > Output/%s.out2.bc
-; RUN: llvm-link Output/%s.out[12].bc
+%M = type { i32, %N* }
+%N = type opaque
 
-%T = type opaque
-%S = type { int, %T* }
-;%X = global { int, %T* } { int 5, %T* null }
+;%X = global { int, %N* } { int 5, %N* null }