2014-05-16 19:35:39 +00:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
|
|
|
|
|
|
|
@v1 = global i32 0
|
|
|
|
; CHECK: @v1 = global i32 0
|
|
|
|
|
|
|
|
@v2 = global [1 x i32] zeroinitializer
|
|
|
|
; CHECK: @v2 = global [1 x i32] zeroinitializer
|
|
|
|
|
2014-05-29 16:16:12 +00:00
|
|
|
@a1 = alias i16, i32* @v1
|
|
|
|
; CHECK: @a1 = alias i16, i32* @v1
|
2014-05-16 19:35:39 +00:00
|
|
|
|
2014-05-29 16:16:12 +00:00
|
|
|
@a2 = alias i32, [1 x i32]* @v2
|
|
|
|
; CHECK: @a2 = alias i32, [1 x i32]* @v2
|
2014-05-16 19:35:39 +00:00
|
|
|
|
2014-05-29 16:16:12 +00:00
|
|
|
@a3 = alias addrspace(2) i32, i32* @v1
|
|
|
|
; CHECK: @a3 = alias addrspace(2) i32, i32* @v1
|
2014-05-16 19:35:39 +00:00
|
|
|
|
2014-05-29 16:16:12 +00:00
|
|
|
@a4 = alias i16, i32* @v1
|
|
|
|
; CHECK: @a4 = alias i16, i32* @v1
|
2014-05-28 18:15:43 +00:00
|
|
|
|
2014-05-29 16:16:12 +00:00
|
|
|
@a5 = thread_local(localdynamic) alias i32* @v1
|
|
|
|
; CHECK: @a5 = thread_local(localdynamic) alias i32* @v1
|