blob: 9a013ffbe56524d2d9a0e8e80ba3f1af705074f0 [file] [log] [blame]
Chris Lattnere07704f2008-01-15 22:22:02 +00001; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep ud2
2define i32 @test() noreturn nounwind {
3entry:
4 tail call void @llvm.trap( )
5 unreachable
6}
7
8declare void @llvm.trap() nounwind
9