]> git.proxmox.com Git - rustc.git/blame - src/llvm/tools/clang/test/SemaCXX/builtin_objc_msgSend.cpp
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / SemaCXX / builtin_objc_msgSend.cpp
CommitLineData
223e47cc
LB
1// RUN: %clang_cc1 %s -fsyntax-only -verify
2// rdar://8686888
3
4typedef struct objc_selector *SEL;
5typedef struct objc_object *id;
6
7extern "C" __attribute__((visibility("default"))) id objc_msgSend(id self, SEL op, ...)
8 __attribute__((visibility("default")));
9
10inline void TCFReleaseGC(void * object)
11{
12 static SEL SEL_release;
13 objc_msgSend((id)object, SEL_release);
14}