blob: d57aee01c609dabd0c3daed2118597ff3bcda290 [file] [log] [blame]
Tanya Lattnerec9a35a2008-03-01 09:15:35 +00001; RUN: llvm-as < %s | opt -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