xref: /llvm-project/clang/test/SemaObjC/builtin_objc_msgSend.m (revision 0f1c1be1968076d6f96f8a7bcc4a15cf195ecd97)
1// RUN: %clang_cc1 %s -fsyntax-only -verify
2// expected-no-diagnostics
3extern 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