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