Mercurial > hg > CbC > CbC_llvm
annotate clang/test/SemaObjC/super-property-message-expr.m @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -fsyntax-only -verify %s |
2 // expected-no-diagnostics | |
3 | |
4 @interface SStoreNodeInfo | |
5 | |
6 @property(nonatomic,readonly,retain) id descriptionShort; | |
7 | |
8 - (id)stringByAppendingFormat:(int)format, ... ; | |
9 | |
10 @end | |
11 | |
12 @interface SStoreNodeInfo_iDisk : SStoreNodeInfo | |
13 { | |
14 @private | |
15 id _etag; | |
16 } | |
17 @end | |
18 | |
19 @implementation SStoreNodeInfo_iDisk | |
20 - (id) X { return [super.descriptionShort stringByAppendingFormat:1, _etag]; } | |
21 | |
22 @end |