1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-unknown-unknown -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s 2*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -x objective-c++ -triple x86_64-unknown-unknown -fobjc-runtime=macosx-fragile-10.5 -fobjc-gc -emit-llvm -o %t %s 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc@interface I { 5*f4a2713aSLionel Sambuc __attribute__((objc_gc(strong))) int *i_IdocumentIDs; 6*f4a2713aSLionel Sambuc __attribute__((objc_gc(strong))) long *l_IdocumentIDs; 7*f4a2713aSLionel Sambuc __attribute__((objc_gc(strong))) long long *ll_IdocumentIDs; 8*f4a2713aSLionel Sambuc __attribute__((objc_gc(strong))) float *IdocumentIDs; 9*f4a2713aSLionel Sambuc __attribute__((objc_gc(strong))) double *d_IdocumentIDs; 10*f4a2713aSLionel Sambuc} 11*f4a2713aSLionel Sambuc- (void) _getResultsOfMatches; 12*f4a2713aSLionel Sambuc@end 13*f4a2713aSLionel Sambuc 14*f4a2713aSLionel Sambuc@implementation I 15*f4a2713aSLionel Sambuc-(void) _getResultsOfMatches { 16*f4a2713aSLionel Sambuc IdocumentIDs[2] = IdocumentIDs[3]; 17*f4a2713aSLionel Sambuc d_IdocumentIDs[2] = d_IdocumentIDs[3]; 18*f4a2713aSLionel Sambuc l_IdocumentIDs[2] = l_IdocumentIDs[3]; 19*f4a2713aSLionel Sambuc ll_IdocumentIDs[2] = ll_IdocumentIDs[3]; 20*f4a2713aSLionel Sambuc i_IdocumentIDs[2] = i_IdocumentIDs[3]; 21*f4a2713aSLionel Sambuc} 22*f4a2713aSLionel Sambuc 23*f4a2713aSLionel Sambuc@end 24*f4a2713aSLionel Sambuc 25