brintos

brintos / llvm-project-archived public Read only

0
0
Text · 352 B · d4310bc Raw
11 lines · plain
1; Test linking two functions with different prototypes and two globals 2; in different modules.3; RUN: llvm-as %s -o %t.foo1.bc4; RUN: echo | llvm-as -o %t.foo2.bc5; RUN: llvm-link %t.foo2.bc %t.foo1.bc -S | FileCheck %s6; RUN: llvm-link %t.foo1.bc %t.foo2.bc -S | FileCheck %s7; CHECK: addrspace(2)8; rdar://60380219 10@G = addrspace(2) global i32 256 11