aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/2009-05-29-InvokeResult1.ll
blob: bb815b3bfe1599b658c4ac17a7332b53e9cd9d94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; 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
}