view clang/test/SemaObjC/builtin_objc_msgSend.m @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
line wrap: on
line source

// RUN: %clang_cc1 %s -fsyntax-only -verify
// expected-no-diagnostics
// rdar://8632525
extern id objc_msgSend(id self, SEL op, ...);

// rdar://12489098
struct objc_super {
  id receiver;
  Class super_class;
};

extern __attribute__((visibility("default"))) id objc_msgSendSuper(struct objc_super *super, SEL op, ...)
    __attribute__((availability(macosx,introduced=10.0)));
    
extern __attribute__((visibility("default"))) void objc_msgSendSuper_stret(struct objc_super *super, SEL op, ...)
    __attribute__((availability(macosx,introduced=10.0)));
    
extern __attribute__((visibility("default"))) void objc_msgSend_stret(id self, SEL op, ...)
    __attribute__((availability(macosx,introduced=10.0)));