Fix a bug where we were counting the alias sets as completely used
[oota-llvm.git] / test / Linker / 2003-08-20-OpaqueTypeResolve.ll
index 95d3f09980709203f88feaad06cb0e3a8430f4fe..c0fc620cfa67d586ac0c8bc626612e9d4b32c827 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 }