[WinEH] Add some test cases I forgot to add to previous commits
[oota-llvm.git] / test / CodeGen / AArch64 / arm64-trap.ll
1 ; RUN: llc < %s -march=arm64 | FileCheck %s
2 define void @foo() nounwind {
3 ; CHECK: foo
4 ; CHECK: brk #0x1
5   tail call void @llvm.trap()
6   ret void
7 }
8 declare void @llvm.trap() nounwind