summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenObjC/implicit-objc_msgSend.m
blob: aff0fe45a009dc9d545942e74805593f676bd714 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -triple x86_64-apple-darwin9 -fobjc-fragile-abi -emit-llvm -o %t %s
// RUN: grep -F 'declare i8* @objc_msgSend(i8*, i8*, ...)' %t

typedef struct objc_selector *SEL;
id f0(id x, SEL s) {
  return objc_msgSend(x, s);
}