xref: /minix3/external/bsd/llvm/dist/clang/test/SemaObjC/builtin_objc_msgSend.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 %s -fsyntax-only -verify
2*f4a2713aSLionel Sambuc// expected-no-diagnostics
3*f4a2713aSLionel Sambuc// rdar://8632525
4*f4a2713aSLionel Sambucextern id objc_msgSend(id self, SEL op, ...);
5*f4a2713aSLionel Sambuc
6*f4a2713aSLionel Sambuc// rdar://12489098
7*f4a2713aSLionel Sambucstruct objc_super {
8*f4a2713aSLionel Sambuc  id receiver;
9*f4a2713aSLionel Sambuc  Class super_class;
10*f4a2713aSLionel Sambuc};
11*f4a2713aSLionel Sambuc
12*f4a2713aSLionel Sambucextern __attribute__((visibility("default"))) id objc_msgSendSuper(struct objc_super *super, SEL op, ...)
13*f4a2713aSLionel Sambuc    __attribute__((availability(macosx,introduced=10.0)));
14*f4a2713aSLionel Sambuc
15*f4a2713aSLionel Sambucextern __attribute__((visibility("default"))) void objc_msgSendSuper_stret(struct objc_super *super, SEL op, ...)
16*f4a2713aSLionel Sambuc    __attribute__((availability(macosx,introduced=10.0)));
17*f4a2713aSLionel Sambuc
18*f4a2713aSLionel Sambucextern __attribute__((visibility("default"))) void objc_msgSend_stret(id self, SEL op, ...)
19*f4a2713aSLionel Sambuc    __attribute__((availability(macosx,introduced=10.0)));
20*f4a2713aSLionel Sambuc
21