xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenObjC/implicit-objc_msgSend.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o %t %s
2*f4a2713aSLionel Sambuc// RUN: grep -F 'declare i8* @objc_msgSend(i8*, i8*, ...)' %t
3*f4a2713aSLionel Sambuc
4*f4a2713aSLionel Sambuctypedef struct objc_selector *SEL;
5*f4a2713aSLionel Sambucid f0(id x, SEL s) {
6*f4a2713aSLionel Sambuc  return objc_msgSend(x, s);
7*f4a2713aSLionel Sambuc}
8