| 1 |
// RUN: %clang_cc1 %s -fsyntax-only -verify |
| 2 |
// expected-no-diagnostics |
| 3 |
extern id objc_msgSend(id self, SEL op, ...); |
| 4 |
|
| 5 |
struct objc_super { |
| 6 |
id receiver; |
| 7 |
Class super_class; |
| 8 |
}; |
| 9 |
|
| 10 |
extern __attribute__((visibility("default"))) id objc_msgSendSuper(struct objc_super *super, SEL op, ...) |
| 11 |
__attribute__((availability(macosx,introduced=10.0))); |
| 12 |
|
| 13 |
extern __attribute__((visibility("default"))) void objc_msgSendSuper_stret(struct objc_super *super, SEL op, ...) |
| 14 |
__attribute__((availability(macosx,introduced=10.0))); |
| 15 |
|
| 16 |
extern __attribute__((visibility("default"))) void objc_msgSend_stret(id self, SEL op, ...) |
| 17 |
__attribute__((availability(macosx,introduced=10.0))); |
| 18 |
|