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