xref: /llvm-project/llvm/test/CodeGen/Generic/trap.ll (revision c8054d90fbe7ff386577c27dd51d597924036cde)
1; RUN: llc < %s
2define i32 @test() noreturn nounwind  {
3entry:
4	tail call void @llvm.trap( )
5	unreachable
6}
7
8declare void @llvm.trap() nounwind
9
10