1 ; RUN: opt -mtriple=i686-unknown-windows-msvc -S -x86-winehstate < %s | FileCheck %s
5 define void @f() comdat personality ptr @__CxxFrameHandler3 {
6 invoke void @g() to label %return unwind label %unwind
10 %pad = cleanuppad within none []
11 cleanupret from %pad unwind to caller
15 declare i32 @__CxxFrameHandler3(...)
17 ; CHECK: define internal i32 @"__ehhandler$f"(ptr %0, ptr %1, ptr %2, ptr %3){{ .+}} comdat($f) {