summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/trap.ll
blob: 67d1a7a347f383d0a701a7fce069d07d87156bf1 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s
define i32 @test() noreturn nounwind  {
entry:
	tail call void @llvm.trap( )
	unreachable
}

declare void @llvm.trap() nounwind