Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Fariborz Jahanian | d286992 | 2009-04-08 19:50:10 +0000 | [diff] [blame] | 2 | |
| 3 | @interface SStoreNodeInfo |
| 4 | |
| 5 | @property(nonatomic,readonly,retain) id descriptionShort; |
| 6 | |
| 7 | - (id)stringByAppendingFormat:(int)format, ... ; |
| 8 | |
| 9 | @end |
| 10 | |
| 11 | @interface SStoreNodeInfo_iDisk : SStoreNodeInfo |
| 12 | { |
| 13 | @private |
| 14 | id _etag; |
| 15 | } |
| 16 | @end |
| 17 | |
| 18 | @implementation SStoreNodeInfo_iDisk |
| 19 | - (id) X { return [super.descriptionShort stringByAppendingFormat:1, _etag]; } |
| 20 | |
| 21 | @end |