]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/SemaObjC/duplicate-property.m
Vendor import of clang trunk r130700:
[FreeBSD/FreeBSD.git] / test / SemaObjC / duplicate-property.m
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 @interface Foo {
4   id x;
5 }
6 @property (nonatomic, retain) id x; // expected-note{{property declared here}}
7 @property (nonatomic, retain) id x; // expected-error{{property has a previous declaration}}
8 @end