Optimize icmp of null and select of two constants even if the select has
[oota-llvm.git] / test / Linker / 2003-08-23-RecursiveOpaqueTypeResolve.ll
index 90e93335d06ce6623fc8a377afa0e31073cbd599..ea82075307948bfbcafc4002dc70134ef39a0c0c 100644 (file)
@@ -1,8 +1,9 @@
 ; 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
+
+%M = type { %M*, opaque* }
 
-%S = type { %S*, opaque* }