blob: 5ced3b8e8da9cb2054a91953ea94c947e5f08196 [file] [log] [blame]
Dan Gohmanf2f6ce62009-09-11 18:01:28 +00001; RUN: opt < %s -inline -disable-output
Chris Lattnerb8d3fd02003-10-08 18:26:10 +00002
Tanya Lattnerec9a35a2008-03-01 09:15:35 +00003define i32 @main() {
Chris Lattnerb8d3fd02003-10-08 18:26:10 +00004entry:
Tanya Lattnerec9a35a2008-03-01 09:15:35 +00005 invoke void @__main( )
6 to label %LongJmpBlkPre unwind label %LongJmpBlkPre
Chris Lattnerb8d3fd02003-10-08 18:26:10 +00007
Tanya Lattnerec9a35a2008-03-01 09:15:35 +00008LongJmpBlkPre: ; preds = %entry, %entry
9 %i.3 = phi i32 [ 0, %entry ], [ 0, %entry ] ; <i32> [#uses=0]
10 ret i32 0
Chris Lattnerb8d3fd02003-10-08 18:26:10 +000011}
12
Tanya Lattnerec9a35a2008-03-01 09:15:35 +000013define void @__main() {
14 ret void
Chris Lattnerb8d3fd02003-10-08 18:26:10 +000015}
16