Home | History | Annotate | Download | only in Generic
      1 ; RUN: llc < %s -enable-correct-eh-support
      2 
      3 define i32 @test() {
      4         unwind
      5 }
      6 
      7 define i32 @main() {
      8         %X = invoke i32 @test( )
      9                         to label %cont unwind label %EH         ; <i32> [#uses=0]
     10 
     11 cont:           ; preds = %0
     12         ret i32 1
     13 
     14 EH:             ; preds = %0
     15         ret i32 0
     16 }
     17 
     18