1 2 3 4 5 6 7 8 9 10 11 12 13
// RUN: %clang_cc1 -fsyntax-only -verify %s @interface Foo @property (readonly) char foo; @end @interface Foo () @property (readwrite) char foo; // expected-note {{property declared here}} @end @interface Foo () @property (readwrite) char foo; // expected-error {{property has a previous declaration}} @end