Fariborz Jahanian | ba8bda0 | 2010-11-09 21:38:20 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -fsyntax-only -verify |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Fariborz Jahanian | ba8bda0 | 2010-11-09 21:38:20 +0000 | [diff] [blame] | 3 | // rdar://8632525 |
| 4 | extern id objc_msgSend(id self, SEL op, ...); |
Fariborz Jahanian | f799213 | 2013-01-04 18:45:40 +0000 | [diff] [blame] | 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 | |