New testcase for PR332

llvm-svn: 13348
This commit is contained in:
Chris Lattner 2004-05-04 17:00:10 +00:00
parent ba7b0d7a0e
commit 1190a4de0b
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
; RUN: llvm-as < %s | opt -adce -disable-output
void %test() {
entry:
br label %UnifiedReturnBlock
UnifiedReturnBlock:
ret void
invoke_catch.0: ; No predecessors!
br bool false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
UnifiedUnwindBlock: ; preds = %invoke_catch.0
unwind
}