; RUN: llvm-upgrade < %s | llvm-as -f -o %s.bc 
; RUN: llvm-link -f -o %s.linked %s.bc

target endian = big
target pointersize = 32
target triple = "powerpc-apple-darwin7.7.0"
deplibs = [ "c", "crtend" ]
%source = global <4 x int> < int 0, int 1, int 2, int 3 >

implementation   ; Functions:

int %main() {
entry:
        ret int 0
}

; RUN: llvm-upgrade < %s | llvm-as -f -o %t1.bc
; RUN: llvm-link -f -o %t2.bc %t1.bc

target endian = big
target pointersize = 32
target triple = "powerpc-apple-darwin7.7.0"
deplibs = [ "c", "crtend" ]
%source = global <4 x int> < int 0, int 1, int 2, int 3 >

implementation   ; Functions:

int %main() {
entry:
        ret int 0
}

Fix test not to emit junk into source directory
Fix test not to emit junk into source directory


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@47947 91177308-0d34-0410-b5e6-96231b3b80d8
