mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
7 lines
238 B
LLVM
7 lines
238 B
LLVM
|
; RUN: llvm-as -disable-output %s
|
||
|
|
||
|
; Test that global aliases are allowed to be constant addrspacecast
|
||
|
|
||
|
@i = internal addrspace(1) global i8 42
|
||
|
@ia = alias internal i8 addrspace(2)* addrspacecast (i8 addrspace(1)* @i to i8 addrspace(2)*)
|