1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -fobjc-gc -emit-llvm -o %t %s 2*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -x objective-c++ -fobjc-gc -emit-llvm -o %t %s 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc@interface I { 5*f4a2713aSLionel Sambuc __attribute__((objc_gc(strong))) signed long *_documentIDs; 6*f4a2713aSLionel Sambuc __attribute__((objc_gc(strong))) id *IdocumentIDs; 7*f4a2713aSLionel Sambuc} 8*f4a2713aSLionel Sambuc- (void) _getResultsOfMatches; 9*f4a2713aSLionel Sambuc@end 10*f4a2713aSLionel Sambuc 11*f4a2713aSLionel Sambuc@implementation I 12*f4a2713aSLionel Sambuc-(void) _getResultsOfMatches { 13*f4a2713aSLionel Sambuc _documentIDs[2] = _documentIDs[3]; 14*f4a2713aSLionel Sambuc IdocumentIDs[2] = IdocumentIDs[3]; 15*f4a2713aSLionel Sambuc} 16*f4a2713aSLionel Sambuc 17*f4a2713aSLionel Sambuc@end 18*f4a2713aSLionel Sambuc 19