xref: /aosp_15_r20/external/clang/test/CodeGenObjC/2007-10-23-GC-WriteBarrier.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -fobjc-gc
2// rdar://5541393
3
4typedef unsigned int NSUInteger;
5__attribute__((objc_gc(strong))) float *_scores;
6
7void foo(int i, float f) {
8  _scores[i] = f;
9}
10