Patrick Beard | b2f6820 | 2012-04-06 18:12:22 +0000 | [diff] [blame] | 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 |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 3 | // expected-no-diagnostics |
Fariborz Jahanian | 9f37cd1 | 2012-01-04 00:31:53 +0000 | [diff] [blame] | 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 |