mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
13 lines
286 B
LLVM
13 lines
286 B
LLVM
|
; RUN: llvm-link %s -S | FileCheck %s
|
||
|
|
||
|
@G = addrspace(2) global i32 256
|
||
|
; CHECK: @G = addrspace(2) global i32
|
||
|
|
||
|
@GA = alias i32, i32 addrspace(2)* @G
|
||
|
; CHECK: @GA = alias i32, i32 addrspace(2)* @G
|
||
|
|
||
|
define void @foo() addrspace(3) {
|
||
|
; CHECK: define void @foo() addrspace(3)
|
||
|
ret void
|
||
|
}
|