1 | // RUN: %clang_cc1 -fobjc-gc -emit-llvm -o %t %s |
---|---|
2 | // RUN: %clang_cc1 -x objective-c++ -fobjc-gc -emit-llvm -o %t %s |
3 | |
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 | |
19 |