1 ; RUN: opt -winehprepare < %s
3 target triple = "x86_64-pc-windows-msvc"
5 define void @test1() personality i32 (...)* @__CxxFrameHandler3 {
8 to label %exit unwind label %cleanup
11 %cp = cleanuppad within none []
12 call void asm sideeffect "", ""()
13 cleanupret from %cp unwind to caller
19 ; CHECK-LABEL: define void @test1(
20 ; CHECK: %[[cp:.*]] = cleanuppad within none []
21 ; CHECK-NEXT: call void asm sideeffect "", ""()
22 ; CHECK-NEXT: cleanupret from %[[cp]] unwind to caller
26 declare i32 @__CxxFrameHandler3(...)