aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll
blob: ad418f7cfb0d5eb90a7975954908538847cf3701 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; RUN: llc < %s
; PR4317

declare i32 @b()

define void @a() {
entry:
  ret void

dummy:
  invoke i32 @b() to label %reg unwind label %reg

reg:
  %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
            catch i8* null
  ret void
}

declare i32 @__gxx_personality_v0(...)