1 ; RUN: llc < %s | FileCheck %s
2 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
3 target triple = "x86_64-w64-windows-gnu"
5 @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @g, i8* null }]
7 declare i32 @__gxx_personality_seh0(...)
9 ; Function Attrs: nounwind
10 define void @f() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_seh0 to i8*) {
13 to label %exit unwind label %lpad
15 lpad: ; preds = %entry
16 landingpad { i8*, i32 }
20 exit: ; preds = %entry
25 ; CHECK: .seh_handler __gxx_personality_seh0, @unwind, @except
27 ; CHECK: .seh_handlerdata
36 attributes #0 = { nounwind }