1// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s 2// rdar:// 8328250 3 4@class NSDate; 5 6@interface XSGraphDataSet 7- and; 8- xor; 9- or; 10 11- ||; // expected-error {{expected selector for Objective-C method}} 12 13- &&; // expected-error {{expected selector for Objective-C method}} 14 15- (void)dataSetForValuesBetween:(NSDate *)startDate and:(NSDate *)endDate; 16@end 17 18@implementation XSGraphDataSet 19- (id) and{return 0; }; 20- (id) xor{return 0; }; 21- (id) or{return 0; }; 22 23- (void)dataSetForValuesBetween:(NSDate *)startDate and:(NSDate *)endDate { return; } 24@end 25