blob: 3d24b8679422661d1b95699c0c206473459fc058 [file] [log] [blame]
Dan Gohman1b4c27772009-09-08 16:50:01 +00001; RUN: opt %s -lowerinvoke -enable-correct-eh-support -disable-output
Chris Lattner3ff699e2008-02-14 19:18:13 +00002; PR2029
3define i32 @main(i32 %argc, i8** %argv) {
4bb470:
5 invoke i32 @main(i32 0, i8** null) to label %invcont474 unwind label
6%lpad902
7
8invcont474: ; preds = %bb470
9 ret i32 0
10
11lpad902: ; preds = %bb470
12 %tmp471.lcssa = phi i8* [ null, %bb470 ] ; <i8*>
13 ret i32 0
14}