2008-06-02-Weak.ll   [plain text]


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