| Fariborz Jahanian | 1b074a3 | 2009-03-13 00:42:52 +0000 | [diff] [blame^] | 1 | // RUN: clang -fnext-runtime -emit-llvm -o %t %s |
| 2 | |||||
| 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 | |||||