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