Eric Christopher | 7bc54e5 | 2011-08-20 00:37:56 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null -fobjc-gc |
2 | // rdar://5541393 | ||||
3 | |||||
4 | typedef unsigned int NSUInteger; | ||||
5 | __attribute__((objc_gc(strong))) float *_scores; | ||||
6 | |||||
7 | void foo(int i, float f) { | ||||
8 | _scores[i] = f; | ||||
9 | } |