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
}