1 // RUN: %llvmgcc -c %s -fobjc-gc -o /dev/null
3 typedef struct _NSRect {
8 __attribute__((objc_gc(strong))) NSRect *_cachedRectArray;
9 extern const NSRect NSZeroRect;
12 -(void)bar:(NSInteger *)rectCount;
17 -(void)bar:(NSInteger *)rectCount {
18 NSRect appendRect = NSZeroRect;
20 _cachedRectArray[*rectCount - 1] = NSZeroRect;