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