[ARM] Add and adjust saturation tests for upcoming qadd changes. NFC
[llvm-core.git] / test / Linker / 2008-06-26-AddressSpace.ll
blobd4310bc816e27f1003bf7898896d9cf23986da80
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
10 @G = addrspace(2) global i32 256