1; RUN: llvm-link %s -S | FileCheck %s
2
3@G = addrspace(2) global i32 256
4; CHECK: @G = addrspace(2) global i32
5
6@GA = alias i32, i32 addrspace(2)* @G
7; CHECK: @GA = alias i32, i32 addrspace(2)* @G
8
9define void @foo() addrspace(3) {
10; CHECK: define void @foo() addrspace(3)
11  ret void
12}
13