1; RUN: opt -S -passes=strip-dead-prototypes < %s | FileCheck %s
2
3; CHECK: declare i32 @f
4declare i32 @f()
5; CHECK-NOT: declare i32 @g
6declare i32 @g()
7
8define i32 @foo() {
9  %call = call i32 @f()
10  ret i32 %call
11}
12