1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/CodeGen/ARM/weak.ll
Tanya Lattner 03755061ae Remove llvm-upgrade.
llvm-svn: 47238
2008-02-17 20:02:20 +00:00

17 lines
266 B
LLVM

; RUN: llvm-as < %s | llc -march=arm | grep .weak.*f
; RUN: llvm-as < %s | llc -march=arm | grep .weak.*h
define weak i32 @f() {
entry:
unreachable
}
define void @g() {
entry:
tail call void @h( )
ret void
}
declare extern_weak void @h()