brintos

brintos / llvm-project-archived public Read only

0
0
Text · 421 B · 7291c4e Raw
19 lines · plain
1// RUN: %clang_cc1 -fobjc-gc -emit-llvm -o %t %s2// RUN: %clang_cc1 -x objective-c++ -fobjc-gc -emit-llvm -o %t %s3 4@interface I {5  __attribute__((objc_gc(strong))) signed long *_documentIDs;6  __attribute__((objc_gc(strong))) id *IdocumentIDs;7}8- (void) _getResultsOfMatches;9@end10 11@implementation I12-(void) _getResultsOfMatches {13    _documentIDs[2] = _documentIDs[3];14    IdocumentIDs[2] = IdocumentIDs[3];15}16 17@end18 19