llvm-6502/test/CodeGen/Thumb/trap.ll
Saleem Abdulrasool 2abadea537 ARM: yet another round of ARM test clean ups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205586 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-03 23:47:24 +00:00

13 lines
216 B
LLVM

; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
; rdar://7961298
define void @t() nounwind {
entry:
; CHECK-LABEL: t:
; CHECK: trap
call void @llvm.trap()
unreachable
}
declare void @llvm.trap() nounwind