2009-09-11 18:01:28 +00:00
|
|
|
; RUN: opt < %s -inline -disable-output
|
2003-10-08 18:26:10 +00:00
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define i32 @main() {
|
2003-10-08 18:26:10 +00:00
|
|
|
entry:
|
2008-03-01 09:15:35 +00:00
|
|
|
invoke void @__main( )
|
2013-03-21 18:30:10 +00:00
|
|
|
to label %LongJmpBlkPost unwind label %LongJmpBlkPre
|
2003-10-08 18:26:10 +00:00
|
|
|
|
2013-03-21 18:30:10 +00:00
|
|
|
LongJmpBlkPost:
|
|
|
|
ret i32 0
|
|
|
|
|
|
|
|
LongJmpBlkPre:
|
2008-03-01 09:15:35 +00:00
|
|
|
%i.3 = phi i32 [ 0, %entry ], [ 0, %entry ] ; <i32> [#uses=0]
|
2013-03-21 18:30:10 +00:00
|
|
|
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
|
|
|
|
cleanup
|
2008-03-01 09:15:35 +00:00
|
|
|
ret i32 0
|
2003-10-08 18:26:10 +00:00
|
|
|
}
|
|
|
|
|
2008-03-01 09:15:35 +00:00
|
|
|
define void @__main() {
|
|
|
|
ret void
|
2003-10-08 18:26:10 +00:00
|
|
|
}
|
|
|
|
|
2013-03-21 18:30:10 +00:00
|
|
|
declare i32 @__gxx_personality_v0(...)
|