repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
2007-10-23-GC-WriteBarrier.m
blob
01eefd41d653e8dacdbdd91a193758383cce29f1
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -fobjc-gc
2
3
typedef unsigned int NSUInteger;
4
__attribute__((objc_gc(strong))) float *_scores;
5
6
void foo(int i, float f) {
7
_scores[i] = f;
8
}