Fix handling of functions with internal linkage.
[oota-llvm.git] / test / Linker / 2003-10-21-ConflictingTypesTolerance.ll
index 07d4b2d90006702abd7b0e97f9f052351bdc5aa9..7cdf7ad0dada3766e848f4e218b9701c4f74311b 100644 (file)
@@ -1,7 +1,6 @@
-; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc
-; RUN: echo { %S = type \[8 x i32\] external global %S } | llvm-as > %t.out2.bc
-; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | grep %S | grep \{
-
-%S = type { int }
+; RUN: llvm-as < %s > %t.out1.bc
+; RUN: echo { %M = type \[8 x i32\] external global %M } | llvm-as > %t.out2.bc
+; RUN: llvm-link %t.out1.bc %t.out2.bc -S | grep %M | grep \\{
+%M = type { i32 }