1 // RUN: %clang_cc1 -E %s -o %t.m
2 // RUN: %clang_cc1 -fobjc-runtime=macosx-fragile-10.5 -rewrite-objc %t.m -o - | FileCheck %s
12 static void KKKK(int w);
18 static void KKKK(int w) {
20 if ([self->_delegate respondsToSelector:@selector(handlePortMessage:)]) {
30 // CHECK: if (((id (*)(id, SEL, ...))(void *)objc_msgSend)((id)((struct I_IMPL *)self)->_delegate, sel_registerName("respondsToSelector:"), sel_registerName("handlePortMessage:")))