Home | History | Annotate | Download | only in Inline
      1 ; RUN: opt < %s -inline -disable-output
      2 
      3 ; Inlining the first call caused the inliner function to delete the second
      4 ; call.  Then the inliner tries to inline the second call, which no longer
      5 ; exists.
      6 
      7 define internal void @Callee1() {
      8         unwind
      9 }
     10 
     11 define void @Callee2() {
     12         ret void
     13 }
     14 
     15 define void @caller() {
     16         call void @Callee1( )
     17         call void @Callee2( )
     18         ret void
     19 }
     20 
     21