summaryrefslogtreecommitdiff
path: root/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
blob: 5ced3b8e8da9cb2054a91953ea94c947e5f08196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: opt < %s -inline -disable-output

define i32 @main() {
entry:
        invoke void @__main( )
                        to label %LongJmpBlkPre unwind label %LongJmpBlkPre

LongJmpBlkPre:          ; preds = %entry, %entry
        %i.3 = phi i32 [ 0, %entry ], [ 0, %entry ]             ; <i32> [#uses=0]
        ret i32 0
}

define void @__main() {
        ret void
}