1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Transforms/PruneEH/2008-06-02-Weak.ll
Duncan Sands a15ae3d239 Test that prune-eh doesn't make deductions based
on bodies of functions with weak linkage.

llvm-svn: 52141
2008-06-09 11:28:41 +00:00

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
}