1 ; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output 2 ; PR2029 3 define i32 @main(i32 %argc, i8** %argv) { 4 bb470: 5 invoke i32 @main(i32 0, i8** null) to label %invcont474 unwind label 6 %lpad902 7 8 invcont474: ; preds = %bb470 9 ret i32 0 10 11 lpad902: ; preds = %bb470 12 %tmp471.lcssa = phi i8* [ null, %bb470 ] ; <i8*> 13 ret i32 0 14 } 15