]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/SemaObjC/ClassPropertyNotObject.m
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / SemaObjC / ClassPropertyNotObject.m
1 // RUN: %clang_cc1  -fsyntax-only -verify -Wno-objc-root-class %s
2 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s
3 // expected-no-diagnostics
4 // rdar://10565506
5
6 @protocol P @end
7
8 @interface I
9 @property Class<P> MyClass;
10 @property Class MyClass1;
11 @property void * VOIDSTAR;
12 @end
13
14 @implementation I
15 @synthesize MyClass, MyClass1, VOIDSTAR;
16 @end