blob: 7291c4e8d2d446b3ac939d4223855305067e768b [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fobjc-gc -emit-llvm -o %t %s
Fariborz Jahanian27b7aa02010-05-20 18:22:28 +00002// RUN: %clang_cc1 -x objective-c++ -fobjc-gc -emit-llvm -o %t %s
Fariborz Jahanian3b8a6522009-03-13 00:42:52 +00003
4@interface I {
5 __attribute__((objc_gc(strong))) signed long *_documentIDs;
6 __attribute__((objc_gc(strong))) id *IdocumentIDs;
7}
8- (void) _getResultsOfMatches;
9@end
10
11@implementation I
12-(void) _getResultsOfMatches {
13 _documentIDs[2] = _documentIDs[3];
14 IdocumentIDs[2] = IdocumentIDs[3];
15}
16
17@end
18