Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fobjc-gc -emit-llvm -o %t %s |
Fariborz Jahanian | 3b8a652 | 2009-03-13 00:42:52 +0000 | [diff] [blame] | 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 |