YouCompleteMe/cpp/llvm/test/Verifier/2009-05-29-InvokeResult1.ll

16 lines
211 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: not llvm-as < %s >& /dev/null
declare i32 @v()
define i32 @f() {
e:
%r = invoke i32 @v()
to label %c unwind label %u ; <i32> [#uses=2]
c: ; preds = %e
ret i32 %r
u: ; preds = %e
ret i32 %r
}