repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git]
/
test
/
FrontendObjC
/
2009-02-05-VolatileProp.m
blob
461f92b51d2ca9f631138a6f9e77e2b997555382
1
/* RUN: %llvmgcc -w -x objective-c -c %s -o /dev/null -pedantic-errors
2
rdar://6551276 */
3
4
void foo(const unsigned short *);
5
void bar() {
6
unsigned short *s[3];
7
int i;
8
@try { } @catch (id anException) { }
9
foo(2+s[i]);
10
}
11