1 ; RUN: opt -S -passes=globaldce < %s | FileCheck %s
3 @L = internal unnamed_addr constant [3 x ptr] [ptr blockaddress(@test1, %L1), ptr blockaddress(@test1, %L2), ptr null], align 16
5 ; CHECK: @L = internal unnamed_addr constant
7 define void @test1(i32 %idx) {
12 %arrayidx = getelementptr inbounds [3 x ptr], ptr @L, i32 0, i32 %idx
13 %l = load ptr, ptr %arrayidx
14 indirectbr ptr %l, [label %L1, label %L2]