1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s | FileCheck %s
4 // CHECK: @[[setprioname:[^ ]*]] = {{.*}}"setPriority:
5 // CHECK-NEXT: @[[setpriosel:[^ ]*]] = {{.*}}[[setprioname]]
7 - (void)respondsToSelector:(const SEL &)s ps:(SEL *)s1;
8 - (void)setPriority:(int)p;
12 @implementation NSObject
14 // CHECK-LABEL: define internal void @"\01-[NSObject Meth]"(
16 // CHECK: call void @objc_msgSend{{.*}}, ptr noundef @[[setpriosel]])
17 [self respondsToSelector:@selector(setPriority:) ps:&@selector(setPriority:)];
19 - (void)setPriority:(int)p {
21 - (void)respondsToSelector:(const SEL &)s ps:(SEL *)s1 {