| 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 | 27b7aa0 | 2010-05-20 18:22:28 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -x objective-c++ -fobjc-gc -emit-llvm -o %t %s | 
| Fariborz Jahanian | 3b8a652 | 2009-03-13 00:42:52 +0000 | [diff] [blame] | 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 |  |