summaryrefslogtreecommitdiff
path: root/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll
blob: 866327f64a8f25237c6642cd0b58e392e52b61c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: opt < %s -inline -disable-output

define i32 @test() {
        unreachable
}

define i32 @caller() {
        %X = call i32 @test( )          ; <i32> [#uses=1]
        ret i32 %X
}