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

13 lines
173 B
LLVM
Raw Normal View History

; 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
}