llvm-6502/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll
Bill Wendling 803c9d33be Replace more uses of 'unwind' in the tests with calls to landingpad and
resume. Note that some of these tests were basically dead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140076 91177308-0d34-0410-b5e6-96231b3b80d8
2011-09-19 22:11:35 +00:00

12 lines
188 B
LLVM

; RUN: opt < %s -inline -disable-output
define i32 @test() {
unreachable
}
define i32 @caller() {
%X = call i32 @test( ) ; <i32> [#uses=1]
ret i32 %X
}