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

define i32 @test() {
        unwind
}

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