repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
Verifier
/
2009-05-29-InvokeResult2.ll
blob
900b1d827bf454df567bc02274c34da6db2338ba
1
; RUN: not llvm-as < %s >& /dev/null
2
3
declare i32 @v()
4
5
define i32 @g() {
6
e:
7
%s = invoke i32 @v()
8
to label %c unwind label %u ; <i32> [#uses=2]
9
10
c: ; preds = %e
11
ret i32 %s
12
13
u: ; preds = %e
14
%t = phi i32 [ %s, %e ] ; <i32> [#uses=1]
15
ret i32 %t
16
}