Chris Lattner | a915477 | 2007-10-23 18:07:23 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -x objective-c -c %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 | } |