2009-03-31-CallGraph.ll revision f2f6ce65b79df6ec4ee427d51a18355a170f199b
1; RUN: opt < %s -inline -prune-eh -disable-output
2define void @f2() {
3    invoke void @f6()
4        to label %ok1 unwind label %lpad1
5
6ok1:
7    ret void
8
9lpad1:
10    invoke void @f4()
11        to label %ok2 unwind label %lpad2
12
13ok2:
14    call void @f8()
15    unreachable
16
17lpad2:
18    unreachable
19}
20
21declare void @f3()
22
23define void @f4() {
24    call void @f3()
25    ret void
26}
27
28declare void @f6() nounwind
29
30declare void @f8()
31
32