blob: 7e62146f9c0105db75be0615e0ae56e916214325 [file] [log] [blame]
Fariborz Jahanian0a855d02009-03-23 19:10:40 +00001// RUN: clang -triple x86_64-unknown-unknown -fobjc-gc -emit-llvm -o %t %s
2
3@interface I {
4 __attribute__((objc_gc(strong))) int *i_IdocumentIDs;
5 __attribute__((objc_gc(strong))) long *l_IdocumentIDs;
6 __attribute__((objc_gc(strong))) long long *ll_IdocumentIDs;
7 __attribute__((objc_gc(strong))) float *IdocumentIDs;
8 __attribute__((objc_gc(strong))) double *d_IdocumentIDs;
9}
10- (void) _getResultsOfMatches;
11@end
12
13@implementation I
14-(void) _getResultsOfMatches {
15 IdocumentIDs[2] = IdocumentIDs[3];
16 d_IdocumentIDs[2] = d_IdocumentIDs[3];
17 l_IdocumentIDs[2] = l_IdocumentIDs[3];
18 ll_IdocumentIDs[2] = ll_IdocumentIDs[3];
19 i_IdocumentIDs[2] = i_IdocumentIDs[3];
20}
21
22@end
23