2012-11-21 22:17:23 +08:00
|
|
|
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
|
2008-10-16 06:34:34 +08:00
|
|
|
; PR2894
|
|
|
|
declare void @g()
|
|
|
|
define void @f() {
|
2012-11-21 22:17:23 +08:00
|
|
|
; CHECK: invoke void @g()
|
|
|
|
; CHECK: to label %d unwind label %c
|
|
|
|
invoke void @g() to label %d unwind label %c
|
|
|
|
d:
|
|
|
|
ret void
|
2011-09-01 05:44:24 +08:00
|
|
|
c:
|
|
|
|
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
|
|
|
|
cleanup
|
|
|
|
ret void
|
2008-10-16 06:34:34 +08:00
|
|
|
}
|
2011-09-01 05:44:24 +08:00
|
|
|
|
|
|
|
declare i32 @__gxx_personality_v0(...)
|