[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / CodeGen / ARM / weak.ll
blob375ce22127a4c0dea575eff975585abd5bf1b4f1
1 ; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
3 define weak i32 @f() {
4 entry:
5         unreachable
8 define void @g() {
9 entry:
10         tail call void @h( )
11         ret void
14 declare extern_weak void @h()
16 ; CHECK: {{.}}weak{{.*}}f
17 ; CHECK: {{.}}weak{{.*}}h