1 ; RUN: opt < %s -inline -S | FileCheck %s
2 ; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
6 define internal i32 @test() {
7 ; CHECK-NOT: define .* @test()
10 br i1 %n, label %r, label %u
19 define i32 @caller() {
20 ; CHECK-LABEL: define i32 @caller()
22 %X = call i32 @test() nounwind
23 ; CHECK-NOT: call i32 @test()
24 ; CHECK: call i1 @extern() #0
25 ; CHECK: br i1 %{{.*}}, label %[[R:.*]], label %[[U:.*]]
35 ; CHECK: attributes #0 = { nounwind }