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
/
2007-10-23-GC-WriteBarrier.m
blob
866c3304887ed36514a2f9227e4476036d64c5bc
1
// RUN: %llvmgcc -x objective-c -c %s -o /dev/null -fobjc-gc
2
// rdar://5541393
3
4
typedef unsigned int NSUInteger;
5
__attribute__((objc_gc(strong))) float *_scores;
6
7
void foo(int i, float f) {
8
_scores[i] = f;
9
}