1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
5 A* response; // expected-error {{unknown type name 'A'}}
9 @property A* response; // expected-error {{unknown type name 'A'}}
14 - (void) foo :(A*) a // expected-error {{expected a type}}
16 self.response = a; // expected-error{{incompatible pointer types assigning to 'int *' from 'id'}}
22 i.helper; // expected-warning{{property access result unused - getters should not be used for side effects}}
26 @property (nonnull) auto a; // expected-error {{'auto' not allowed in interface member}}
27 @property auto b; // expected-error {{'auto' not allowed in interface member}}
28 @property (nullable) auto c; // expected-error {{'auto' not allowed in interface member}}
32 @property (nonnull) auto catprop; // expected-error {{'auto' not allowed in interface member}}