1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -emit-llvm -o - %s 2 // PR7390 3 4 @interface NSObject {} 5 - (void)respondsToSelector:(const SEL&)s : (SEL*)s1; 6 - (void) setPriority:(int)p; 7 - (void)Meth; 8 @end 9 10 @implementation NSObject 11 - (void)Meth { 12 [self respondsToSelector:@selector(setPriority:) : &@selector(setPriority:)]; 13 } 14 - (void) setPriority:(int)p{} 15 - (void)respondsToSelector:(const SEL&)s : (SEL*)s1 {} 16 @end 17