1 // RUN: %clang_cc1 -fsyntax-only -verify %s
5 @property float MyProperty0; // expected-warning {{property 'MyProperty0' requires method 'MyProperty0' to be defined }} \
6 // expected-warning {{property 'MyProperty0' requires method 'setMyProperty0:' to be defined}}
9 @protocol PROTOCOL<PROTOCOL0>
11 @property float MyProperty; // expected-warning {{property 'MyProperty' requires method 'MyProperty' to be defined}} \
12 // expected-warning {{property 'MyProperty' requires method 'setMyProperty:' to be defined}}
14 @property float OptMyProperty;
17 @interface I <PROTOCOL>
20 @implementation I @end // expected-note 4 {{implementation is here}}