1; RUN: opt -strip -S < %s | FileCheck %s
2; PR10286
3
4@main_addrs = constant [2 x i8*] [i8* blockaddress(@f, %FOO), i8* blockaddress(@f, %BAR)]
5; CHECK: @main_addrs = constant [2 x i8*] [i8* blockaddress(@f, %2), i8* blockaddress(@f, %3)]
6
7declare void @foo() nounwind
8declare void @bar() nounwind
9
10define void @f(i8* %indirect.goto.dest) nounwind uwtable ssp {
11entry:
12  indirectbr i8* %indirect.goto.dest, [label %FOO, label %BAR]
13
14  ; CHECK: indirectbr i8* %0, [label %2, label %3]
15
16FOO:
17  call void @foo()
18  ret void
19
20BAR:
21  call void @bar()
22  ret void
23}
24