bolt/deps/llvm-18.1.8/clang/test/CodeGenObjC/2007-10-23-GC-WriteBarrier.m

9 lines
188 B
Mathematica
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null -fobjc-gc
typedef unsigned int NSUInteger;
__attribute__((objc_gc(strong))) float *_scores;
void foo(int i, float f) {
_scores[i] = f;
}