1; RUN: opt < %s -inline -S | grep nounwind
2; RUN: opt < %s -inline -S | grep unreachable
3
4declare i1 @extern()
5
6define internal i32 @test() {
7entry:
8	%n = call i1 @extern( )
9	br i1 %n, label %r, label %u
10r:
11	ret i32 0
12u:
13	unreachable
14}
15
16define i32 @caller() {
17	%X = call i32 @test( ) nounwind
18	ret i32 %X
19}
20