annotate clang/test/SemaObjC/ClassPropertyNotObject.m @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -x objective-c++ -fsyntax-only -verify -Wno-objc-root-class %s
anatofuz
parents:
diff changeset
3 // expected-no-diagnostics
anatofuz
parents:
diff changeset
4 // rdar://10565506
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 @protocol P @end
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 @interface I
anatofuz
parents:
diff changeset
9 @property Class<P> MyClass;
anatofuz
parents:
diff changeset
10 @property Class MyClass1;
anatofuz
parents:
diff changeset
11 @property void * VOIDSTAR;
anatofuz
parents:
diff changeset
12 @end
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 @implementation I
anatofuz
parents:
diff changeset
15 @synthesize MyClass, MyClass1, VOIDSTAR;
anatofuz
parents:
diff changeset
16 @end