llvm-6502/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll

12 lines
188 B
LLVM
Raw Normal View History

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