[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaCXX / builtin_objc_msgSend.cpp
blob8e91724b38157fe6b55709fdb6c2777f0ce2f3c4
1 // RUN: %clang_cc1 %s -fsyntax-only -verify
2 // expected-no-diagnostics
4 typedef struct objc_selector *SEL;
5 typedef struct objc_object *id;
7 extern "C" __attribute__((visibility("default"))) id objc_msgSend(id self, SEL op, ...)
8 __attribute__((visibility("default")));
10 inline void TCFReleaseGC(void * object)
12 static SEL SEL_release;
13 objc_msgSend((id)object, SEL_release);