llvm.org GIT mirror llvm / 9a856b0
new testcase for llvm.trap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46020 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 12 years ago
1 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc
1 define i32 @test() noreturn nounwind {
2 entry:
3 tail call void @llvm.trap( )
4 unreachable
5 }
6
7 declare void @llvm.trap() nounwind
8