; RUN: llvm-as < %s | llvm-dis | not grep {void@}
; PR2894
declare void @g()
define void @f() {
  invoke void @g() to label %c unwind label %c
  c: ret void
}

; RUN: llvm-as < %s | llvm-dis | not grep {void@}
; PR2894
declare void @g()
define void @f() {
  invoke void @g() to label %c unwind label %c
c:
  %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
            cleanup
  ret void
}

declare i32 @__gxx_personality_v0(...)

Update to new EH scheme.
Update to new EH scheme.

git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@138906 91177308-0d34-0410-b5e6-96231b3b80d8
