blob: ffa16e70bf85340f0fa4715ffa3ac5b0d2212376 [file] [log] [blame]
Fariborz Jahanianba8bda02010-11-09 21:38:20 +00001// RUN: %clang_cc1 %s -fsyntax-only -verify
Andy Gibbs8e8fb3b2012-10-19 12:44:48 +00002// expected-no-diagnostics
Fariborz Jahanianba8bda02010-11-09 21:38:20 +00003// rdar://8632525
4extern id objc_msgSend(id self, SEL op, ...);
Fariborz Jahanianf7992132013-01-04 18:45:40 +00005
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