Dan Gohman | fce288f | 2009-09-09 00:09:15 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s |
Chris Lattner | 9a856b0 | 2008-01-15 22:17:26 +0000 | [diff] [blame] | 2 | define i32 @test() noreturn nounwind { |
3 | entry: | ||||
4 | tail call void @llvm.trap( ) | ||||
5 | unreachable | ||||
6 | } | ||||
7 | |||||
8 | declare void @llvm.trap() nounwind | ||||
9 |