xref: /aosp_15_r20/external/llvm/test/CodeGen/Generic/trap.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
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