Introduce ObjCMessageExpr::getReceiverRange() to get the source range of the receiver.
[clang.git] / test / CodeGenObjC / overloadable.m
blob4fd1429f282719b205ff6d56a2040c32774bcd08
1 // rdar://6657613
2 // RUN: %clang_cc1 -emit-llvm %s -o %t
4 @class C;
6 // RUN: grep _Z1fP11objc_object %t | count 1
7 void __attribute__((overloadable)) f(id c) { }
9 // RUN: grep _Z1fP1C %t | count 1
10 void __attribute__((overloadable)) f(C *c) { }