Ted Kremenek | 894ae6a | 2010-03-15 18:47:25 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
2 | |||||
3 | @interface Foo { | ||||
4 | id x; | ||||
5 | } | ||||
Ted Kremenek | b5696fe | 2010-03-15 18:47:29 +0000 | [diff] [blame] | 6 | @property (nonatomic, retain) id x; // expected-note{{property declared here}} |
Ted Kremenek | 894ae6a | 2010-03-15 18:47:25 +0000 | [diff] [blame] | 7 | @property (nonatomic, retain) id x; // expected-error{{property has a previous declaration}} |
8 | @end |