Improve the diagnostic for -Wcustom-atomic-properties. Suggestion by Fariborz!
[clang.git] / test / SemaObjC / property-method-lookup-impl.m
blob0a018b0dffd849a0c689c7227b1695834f52b17f
1 // RUN: %clang_cc1  -fsyntax-only -verify %s
3 @interface SSyncCEList
5         id _list;
7 @end
9 @implementation SSyncCEList
11 - (id) list { return 0; }
12 @end
14 @interface SSyncConflictList : SSyncCEList
15 @end
17 @implementation SSyncConflictList
19 - (id)Meth : (SSyncConflictList*)other
20   {
21     return other.list;
22   }
23 @end