blob: af8508b6463a701d1eb40d3bb8d6c948941f4335 [file] [log] [blame]
Eric Christopher7bc54e52011-08-20 00:37:56 +00001// 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}