mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
a15ae3d239
on bodies of functions with weak linkage. llvm-svn: 52141
13 lines
173 B
LLVM
13 lines
173 B
LLVM
; RUN: llvm-as < %s | opt -prune-eh | llvm-dis | not grep nounwind
|
|
|
|
define weak void @f() {
|
|
entry:
|
|
ret void
|
|
}
|
|
|
|
define void @g() {
|
|
entry:
|
|
call void @f()
|
|
ret void
|
|
}
|