llvm.org GIT mirror llvm / release_30 test / Verifier / invoke-1.ll
release_30

Tree @release_30 (Download .tar.gz)

invoke-1.ll @release_30raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: not llvm-as < %s |& grep {not verify as correct}
; PR1042

define i32 @foo() {
	%A = invoke i32 @foo( )
			to label %L unwind label %L		; <i32> [#uses=1]
L:		; preds = %0, %0
	ret i32 %A
}