blob: d0fcb6ced928be28c01b6bcfa6b4a5924de1e091 [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
Fariborz Jahanian3b8a6522009-03-13 00:42:52 +00002
3@interface I {
4 __attribute__((objc_gc(strong))) signed long *_documentIDs;
5 __attribute__((objc_gc(strong))) id *IdocumentIDs;
6}
7- (void) _getResultsOfMatches;
8@end
9
10@implementation I
11-(void) _getResultsOfMatches {
12 _documentIDs[2] = _documentIDs[3];
13 IdocumentIDs[2] = IdocumentIDs[3];
14}
15
16@end
17