Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaObjC / property-method-lookup-impl.m
blobdc490edb1fdc39e0aded01df73ef2344b1aefd29
1 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
4 @interface SSyncCEList
6         id _list;
8 @end
10 @implementation SSyncCEList
12 - (id) list { return 0; }
13 @end
15 @interface SSyncConflictList : SSyncCEList
16 @end
18 @implementation SSyncConflictList
20 - (id)Meth : (SSyncConflictList*)other
21   {
22     return other.list;
23   }
24 @end