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