1; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s
2
3; CHECK-LABEL: test0:
4; CHECK: ud2
5define i32 @test0() noreturn nounwind  {
6entry:
7	tail call void @llvm.trap( )
8	unreachable
9}
10
11; CHECK-LABEL: test1:
12; CHECK: int3
13define i32 @test1() noreturn nounwind  {
14entry:
15	tail call void @llvm.debugtrap( )
16	unreachable
17}
18
19declare void @llvm.trap() nounwind
20declare void @llvm.debugtrap() nounwind
21
22