YouCompleteMe/cpp/llvm/test/Transforms/PruneEH/2008-06-02-Weak.ll
2012-07-05 17:51:06 -07:00

13 lines
155 B
LLVM

; RUN: opt < %s -prune-eh -S | not grep nounwind
define weak void @f() {
entry:
ret void
}
define void @g() {
entry:
call void @f()
ret void
}