1 ; RUN: llc < %s -march=arm | grep .weak.*f
2 ; RUN: llc < %s -march=arm | grep .weak.*h
3
4 define weak i32 @f() {
5 entry:
6 unreachable
7 }
8
9 define void @g() {
10 entry:
11 tail call void @h( )
12 ret void
13 }
14
15 declare extern_weak void @h()
16
17