1 ; RUN: opt < %s -prune-eh -S | not grep {ret i32}
2
3 declare void @noreturn() noreturn
4
5 define i32 @caller() {
6 call void @noreturn( )
7 ret i32 17
8 }
9
10 define i32 @caller2() {
11 %T = call i32 @caller( ) ; <i32> [#uses=1]
12 ret i32 %T
13 }
14