llvm-project/llvm/test/CodeGen/ARM/weak.ll

18 lines
306 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep .weak.*f
2006-12-06 21:35:10 +08:00
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep .weak.*h
implementation ; Functions:
weak uint %f() {
entry:
unreachable
}
2006-12-06 21:35:10 +08:00
void %g() {
entry:
tail call void %h( )
ret void
}
declare extern_weak void %h()