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 | grep {addrspace(2)}
6 ; RUN: llvm-link %t.foo1.bc %t.foo2.bc -S | grep {addrspace(2)}
9 @G = addrspace(2) global i32 256