☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGenObjC
/
2007-10-23-GC-WriteBarrier.m
☽
☼
clang/test/CodeGenObjC/2007-10-23-GC-WriteBarrier.m
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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
}