Mercurial > hg > CbC > CbC_llvm
annotate clang/test/SemaObjC/ClassPropertyNotObject.m @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children |
rev | line source |
---|---|
150 | 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 |