type receiver (pr7861).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110696
91177308-0d34-0410-b5e6-
96231b3b80d8
if (!Method) {
// Handle messages to id.
- bool receiverIsId = (ReceiverType->isObjCIdType() ||
- ReceiverType->isObjCQualifiedIdType());
+ bool receiverIsId = ReceiverType->isObjCIdType();
if (receiverIsId || ReceiverType->isBlockPointerType() ||
(Receiver && Context.isObjCNSObjectType(Receiver->getType()))) {
Method = LookupInstanceMethodInGlobalPool(Sel,
void f5(id a0, Abstract *a1) {
[ a0 setZ: a1];
}
+
+// pr7861
+void f6(id<A> a0) {
+ Abstract *l = [a0 x];
+}