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