21 lines · plain
1; RUN: opt < %s -passes=inline -disable-output2 3; Inlining the first call caused the inliner function to delete the second4; call. Then the inliner tries to inline the second call, which no longer5; exists.6 7define internal void @Callee1() {8 unreachable9}10 11define void @Callee2() {12 ret void13}14 15define void @caller() {16 call void @Callee1( )17 call void @Callee2( )18 ret void19}20 21