1 ; RUN: llvm-as < %s | llvm-dis | FileCheck %s 2 ; PR2894 3 declare void @g() 4 define void @f() { 5 ; CHECK: invoke void @g() 6 ; CHECK: to label %d unwind label %c 7 invoke void @g() to label %d unwind label %c 8 d: 9 ret void 10 c: 11 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 12 cleanup 13 ret void 14 } 15 16 declare i32 @__gxx_personality_v0(...) 17