xref: /llvm-project/llvm/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll (revision e5369823bc0655806469724335d0ca5a4c17d8c7)
1; RUN: opt < %s -passes=inline -disable-output
2
3define i32 @test() {
4        unreachable
5}
6
7define i32 @caller() {
8        %X = call i32 @test( )          ; <i32> [#uses=1]
9        ret i32 %X
10}
11
12