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