xref: /llvm-project/clang/test/CodeGenObjC/implicit-objc_msgSend.m (revision 9466b49171dc4b21f56a48594fc82b1e52f5358a)
1// RUN: %clang_cc1 -Wno-implicit-function-declaration -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o %t %s
2// RUN: grep -F 'declare ptr @objc_msgSend(ptr noundef, ptr noundef, ...)' %t
3
4typedef struct objc_selector *SEL;
5id f0(id x, SEL s) {
6  return objc_msgSend(x, s);
7}
8