Revert "Rewrite a test to count emitted instructions without using -stats"
[oota-llvm.git] / test / CodeGen / Thumb / trap.ll
1 ; RUN: llc < %s -march=thumb | FileCheck %s
2 ; rdar://7961298
3
4 define void @t() nounwind {
5 entry:
6 ; CHECK: t:
7 ; CHECK: trap
8   call void @llvm.trap()
9   unreachable
10 }
11
12 declare void @llvm.trap() nounwind