1; Test linking two functions with different prototypes and two globals
2; in different modules.
3; RUN: llvm-as %s -o %t.foo1.bc
4; RUN: echo | llvm-as -o %t.foo2.bc
5; RUN: llvm-link %t.foo2.bc %t.foo1.bc -S | FileCheck %s
6; RUN: llvm-link %t.foo1.bc %t.foo2.bc -S | FileCheck %s
7; CHECK: addrspace(2)
8; rdar://6038021
9
10@G = addrspace(2) global i32 256
11