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