llvm-project/llvm/test/Transforms/PruneEH/2008-06-02-Weak.ll

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
}