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 bitcast (i32* @v1 to i16*)
13 ; CHECK: @a1 = alias bitcast (i32* @v1 to i16*)
15 @a2 = alias bitcast([1 x i32]* @v2 to i32*)
16 ; CHECK: @a2 = alias getelementptr inbounds ([1 x i32], [1 x i32]* @v2, i32 0, i32 0)
18 @a3 = alias addrspacecast (i32* @v1 to i32 addrspace(2)*)
19 ; CHECK: @a3 = alias addrspacecast (i32* @v1 to i32 addrspace(2)*)
21 @a4 = alias bitcast (i32* @v1 to i16*)
22 ; CHECK: @a4 = alias bitcast (i32* @v1 to i16*)
24 @a5 = thread_local(localdynamic) alias i32* @v1
25 ; CHECK: @a5 = thread_local(localdynamic) alias i32* @v1
27 @a6 = alias getelementptr ([2 x i16], [2 x i16]* @v3, i32 1, i32 1)
28 ; CHECK: @a6 = alias getelementptr ([2 x i16], [2 x i16]* @v3, i32 1, i32 1)