summaryrefslogtreecommitdiff
path: root/test/Transforms/PruneEH/2008-06-02-Weak.ll
blob: fb97ae870831c80af6a561b066577209a25a2db0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; 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
}