2007-08-02 07:07:36 +08:00
|
|
|
; RUN: llvm-upgrade < %s | not llvm-as -f &| grep {not verify as correct}
|
2006-12-16 10:26:57 +08:00
|
|
|
; PR1042
|
|
|
|
|
|
|
|
int %foo() {
|
|
|
|
br bool false, label %L1, label %L2
|
|
|
|
L1:
|
|
|
|
%A = invoke int %foo() to label %L unwind label %L
|
|
|
|
|
|
|
|
L2:
|
|
|
|
br label %L
|
|
|
|
L:
|
|
|
|
ret int %A
|
|
|
|
}
|