1 ; Test linking two functions with different prototypes and two globals
2 ; in different modules.
3 ; RUN: llvm-as %s -o %t.foo1.bc -f
4 ; RUN: echo | llvm-as -o %t.foo2.bc -f
5 ; RUN: llvm-link %t.foo2.bc %t.foo1.bc | llvm-dis | grep {addrspace(2)}
6 ; RUN: llvm-link %t.foo1.bc %t.foo2.bc | llvm-dis | grep {addrspace(2)}
9 @G = addrspace(2) global i32 256