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