aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll
blob: e1b426e20a4c4ff09c288eb771af73208ebca481 (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
}