1 ; RUN: opt < %s -passes=inline -disable-output
3 define i32 @main() personality ptr @__gxx_personality_v0 {
6 to label %Call2Invoke unwind label %LongJmpBlkPre
8 Call2Invoke: ; preds = %entry
11 LongJmpBlkPre: ; preds = %Call2Invoke, %entry
12 %i.3 = phi i32 [ 0, %entry ]
13 %exn = landingpad {ptr, i32}
21 define void @__main() {
22 call void @__llvm_getGlobalCtors( )
23 call void @__llvm_getGlobalDtors( )
27 declare i32 @__gxx_personality_v0(...)
29 declare void @__llvm_getGlobalCtors()
31 declare void @__llvm_getGlobalDtors()