summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjCXX/linkage-spec.mm
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjCXX/linkage-spec.mm')
-rw-r--r--clang/test/SemaObjCXX/linkage-spec.mm21
1 files changed, 21 insertions, 0 deletions
diff --git a/clang/test/SemaObjCXX/linkage-spec.mm b/clang/test/SemaObjCXX/linkage-spec.mm
new file mode 100644
index 0000000..584571d
--- /dev/null
+++ b/clang/test/SemaObjCXX/linkage-spec.mm
@@ -0,0 +1,21 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+extern "C" {
+@class Protocol;
+}
+
+// <rdar://problem/7827709>
+extern "C" {
+@class I;
+}
+
+@interface I
+@end
+
+// rdar://10015110
+@protocol VKAnnotation;
+extern "C" {
+
+@protocol VKAnnotation
+ @property (nonatomic, assign) id coordinate;
+@end
+}