llvm/llvm/test/CodeGen/WinEH/wineh-empty-seh-scope.ll

; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
; RUN: llc -mtriple=x86_64-pc-windows-msvc19.41.34120 < %s | FileCheck %s

define void @foo() personality ptr @__CxxFrameHandler3 {
; CHECK-LABEL: foo:
; CHECK:       # %bb.0:
; CHECK-NEXT:    nop # avoids zero-length function
  call void @llvm.seh.scope.begin()
  unreachable
}

declare i32 @__CxxFrameHandler3(...)

declare void @llvm.seh.scope.begin()

!llvm.module.flags = !{!0}

!0 = !{i32 2, !"eh-asynch", i32 1}