Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaObjC / objc-qualified-property-lookup.m
blobfac582700cc79572adfbf054fa10da0c6f076900
1 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
4 @interface NSObject @end
6 @protocol TextInput
7 -editRange;
8 @end
10 @interface I {
11   NSObject<TextInput>* editor;
13 - (id) Meth;
14 @end
16 @implementation I
17 - (id) Meth {
18    return editor.editRange;
20 @end