11 lines
194 B
LLVM
11 lines
194 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -extract-blocks -disable-output
|
|
int %foo() {
|
|
br label %EB
|
|
EB:
|
|
%V = invoke int %foo() to label %Cont unwind label %Unw
|
|
Cont:
|
|
ret int %V
|
|
Unw:
|
|
unwind
|
|
}
|