-; RUN: llvm-as < %s | opt -extract-blocks -disable-output
+; RUN: opt < %s -extract-blocks -disable-output
define i32 @foo() {
br label %EB
ret i32 %V
Unw: ; preds = %EB
- unwind
+ %exn = landingpad { i8*, i32 } personality i32 (...)* @__gcc_personality_v0
+ catch i8* null
+ resume { i8*, i32 } %exn
}
+declare i32 @__gcc_personality_v0(...)