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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
anatofuz
parents:
diff changeset
2 // expected-no-diagnostics
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 @interface SStoreNodeInfo
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 @property(nonatomic,readonly,retain) id descriptionShort;
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 - (id)stringByAppendingFormat:(int)format, ... ;
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 @end
anatofuz
parents:
diff changeset
11
anatofuz
parents:
diff changeset
12 @interface SStoreNodeInfo_iDisk : SStoreNodeInfo
anatofuz
parents:
diff changeset
13 {
anatofuz
parents:
diff changeset
14 @private
anatofuz
parents:
diff changeset
15 id _etag;
anatofuz
parents:
diff changeset
16 }
anatofuz
parents:
diff changeset
17 @end
anatofuz
parents:
diff changeset
18
anatofuz
parents:
diff changeset
19 @implementation SStoreNodeInfo_iDisk
anatofuz
parents:
diff changeset
20 - (id) X { return [super.descriptionShort stringByAppendingFormat:1, _etag]; }
anatofuz
parents:
diff changeset
21
anatofuz
parents:
diff changeset
22 @end