[PowerPC] Collect some CallLowering arguments into a struct. [NFC]
[llvm-project.git] / clang / test / SemaObjC / builtin_objc_msgSend.m
blobffa16e70bf85340f0fa4715ffa3ac5b0d2212376
1 // RUN: %clang_cc1 %s -fsyntax-only -verify
2 // expected-no-diagnostics
3 // rdar://8632525
4 extern id objc_msgSend(id self, SEL op, ...);
6 // rdar://12489098
7 struct objc_super {
8   id receiver;
9   Class super_class;
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)));