; little symbol table. This is causing llvm-link to die, at no fault of its
; own.
-; RUN: llvm-as < %s > %t.out2.bc
+; RUN: llvm-upgrade %s | llvm-as > %t.out2.bc
; RUN: echo "%T1 = type opaque %GVar = external global %T1*" | llvm-as > %t.out1.bc
; RUN: llvm-link %t.out[12].bc
; Test that appending linkage works correctly when arrays are the same size.
; RUN: echo "%X = constant [1x int] [int 8]" | llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
+; RUN: llvm-upgrade %s | llvm-as > %t.1.bc
; RUN: llvm-link %t.[12].bc | llvm-dis | grep constant
%X = uninitialized global [1 x int]
; Test that appending linkage works correctly when arrays are the same size.
-; RUN: echo "%X = uninitialized global [1x int]" | llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
+; RUN: echo "%X = external global [1x int]" | llvm-as > %t.2.bc
+; RUN: llvm-upgrade %s | llvm-as > %t.1.bc
; RUN: llvm-link %t.[12].bc | llvm-dis | grep constant
%X = constant [1 x int] [ int 12 ]
; Test that appending linkage works correctly when arrays are the same size.
-; RUN: echo "%X = uninitialized constant [1x int]" | llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
+; RUN: echo "%X = external constant [1x int]" | llvm-as > %t.2.bc
+; RUN: llvm-upgrade %s | llvm-as > %t.1.bc
; RUN: llvm-link %t.[12].bc | llvm-dis | grep constant
%X = uninitialized global [1 x int]