1; RUN: opt < %s -partial-inliner -disable-output
2; RUN: opt < %s -passes=partial-inliner -disable-output
3
4define i32 @f() {
5entry:
6  br label %return
7
8return:                                           ; preds = %entry
9  ret i32 undef
10}
11
12define i32 @g() {
13entry:
14  %0 = call i32 @f()
15  ret i32 %0
16}
17