1 ; RUN: opt < %s -globaldce -S > %t 2 ; RUN: FileCheck %s < %t 3 ; RUN: FileCheck --check-prefix=DEAD %s < %t 4 5 @A = global i32 0 6 ; CHECK: @A = global i32 0 7 8 @D = internal alias i32, i32* @A 9 ; DEAD-NOT: @D 10 11 @L1 = alias i32, i32* @A 12 ; CHECK: @L1 = alias i32, i32* @A 13 14 @L2 = internal alias i32, i32* @L1 15 ; CHECK: @L2 = internal alias i32, i32* @L1 16 17 @L3 = alias i32, i32* @L2 18 ; CHECK: @L3 = alias i32, i32* @L2 19