• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: %clang_cc1 -triple x86_64-apple-darwin10  -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
2// rdar://12716301
3
4typedef unsigned char BOOL;
5
6@protocol NSObject
7- (BOOL)isEqual:(id)object;
8@end
9
10@interface NSString<NSObject>
11@end
12
13int main() {
14  NSString *stringA = @"stringA";
15
16  BOOL comparison = stringA==@"stringB";
17
18}
19
20// CHECK: {16:21-16:21}:"["
21// CHECK: {16:28-16:30}:" isEqual:"
22// CHECK: {16:40-16:40}:"]"
23