1 ; RUN: opt -mtriple=x86_64-linux-gnu -dwarfehprepare -S %s | FileCheck %s
5 ; Check that 'resume' is lowered to _Unwind_Resume which marked as 'noreturn'
6 define void @pluto() align 2 personality ptr @hoge {
7 ;CHECK: call void @_Unwind_Resume(ptr %exn.obj) [[A:#.*]]
8 ;CHECK: attributes [[A]] = { noreturn }
11 to label %bb1 unwind label %bb2
17 %tmp = landingpad { ptr, i32 }
19 resume { ptr, i32 } %tmp