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