Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 %s -fsyntax-only -verify
      2 // rdar://8686888
      3 
      4 typedef struct objc_selector *SEL;
      5 typedef struct objc_object *id;
      6 
      7 extern "C" __attribute__((visibility("default"))) id objc_msgSend(id self, SEL op, ...)
      8     __attribute__((visibility("default")));
      9 
     10 inline void TCFReleaseGC(void * object)
     11 {
     12  static SEL SEL_release;
     13  objc_msgSend((id)object, SEL_release);
     14 }
     15