1; RUN: opt -S -passes='cgscc(inline)' < %s | FileCheck %s
2target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
3target triple = "x86_64-unknown-linux-gnu"
4
5define void @test1() {
6entry:
7  call void @test2()
8  ret void
9}
10
11define internal void @test2() {
12entry:
13  call void undef()
14  ret void
15}
16
17; CHECK-LABEL: define void @test1(
18; CHECK: call void undef(
19; CHECK: ret void
20