Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Douglas Gregor | ce35607 | 2009-01-06 23:51:29 +0000 | [diff] [blame] | 2 | extern "C" { |
| 3 | @class Protocol; |
| 4 | } |
Douglas Gregor | 78713d8 | 2010-04-09 21:30:38 +0000 | [diff] [blame] | 5 | |
| 6 | // <rdar://problem/7827709> |
| 7 | extern "C" { |
| 8 | @class I; |
| 9 | } |
| 10 | |
| 11 | @interface I |
| 12 | @end |
Fariborz Jahanian | ca4c40a | 2011-08-25 22:26:53 +0000 | [diff] [blame] | 13 | |
| 14 | // rdar://10015110 |
| 15 | @protocol VKAnnotation; |
| 16 | extern "C" { |
| 17 | |
| 18 | @protocol VKAnnotation |
| 19 | @property (nonatomic, assign) id coordinate; |
| 20 | @end |
| 21 | } |