1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
4 ; CHECK: @v1 = global i32 0
6 @v2 = global [1 x i32] zeroinitializer
7 ; CHECK: @v2 = global [1 x i32] zeroinitializer
9 @v3 = global [2 x i16] zeroinitializer
10 ; CHECK: @v3 = global [2 x i16] zeroinitializer
12 @a1 = alias i16, ptr @v1
13 ; CHECK: @a1 = alias i16, ptr @v1
15 @a2 = alias i32, ptr @v2
16 ; CHECK: @a2 = alias i32, ptr @v2
18 @a3 = alias i32, addrspacecast (ptr @v1 to ptr addrspace(2))
19 ; CHECK: @a3 = alias i32, addrspacecast (ptr @v1 to ptr addrspace(2))
21 @a4 = alias i16, ptr @v1
22 ; CHECK: @a4 = alias i16, ptr @v1
24 @a5 = thread_local(localdynamic) alias i32, ptr @v1
25 ; CHECK: @a5 = thread_local(localdynamic) alias i32, ptr @v1
27 @a6 = alias i16, getelementptr ([2 x i16], ptr @v3, i32 1, i32 1)
28 ; CHECK: @a6 = alias i16, getelementptr ([2 x i16], ptr @v3, i32 1, i32 1)