llvm-for-llvmta/tools/clang/test/SemaObjCXX/linkage-spec.mm

23 lines
311 B
Plaintext
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
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
}