2010-11-10 05:38:20 +08:00
|
|
|
// RUN: %clang_cc1 %s -fsyntax-only -verify
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2010-11-10 05:38:20 +08:00
|
|
|
// rdar://8632525
|
|
|
|
extern id objc_msgSend(id self, SEL op, ...);
|
2013-01-05 02:45:40 +08:00
|
|
|
|
|
|
|
// rdar://12489098
|
|
|
|
struct objc_super {
|
|
|
|
id receiver;
|
|
|
|
Class super_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern __attribute__((visibility("default"))) id objc_msgSendSuper(struct objc_super *super, SEL op, ...)
|
|
|
|
__attribute__((availability(macosx,introduced=10.0)));
|
|
|
|
|
|
|
|
extern __attribute__((visibility("default"))) void objc_msgSendSuper_stret(struct objc_super *super, SEL op, ...)
|
|
|
|
__attribute__((availability(macosx,introduced=10.0)));
|
|
|
|
|
|
|
|
extern __attribute__((visibility("default"))) void objc_msgSend_stret(id self, SEL op, ...)
|
|
|
|
__attribute__((availability(macosx,introduced=10.0)));
|
|
|
|
|