Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / FixIt / fixit-nsstring-compare.m
blobed6ae3361e40f3098c6f80e47cfa8cb06529ea5f
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10  -fdiagnostics-parseable-fixits -x objective-c %s 2>&1 | FileCheck %s
3 typedef unsigned char BOOL;
5 @protocol NSObject
6 - (BOOL)isEqual:(id)object;
7 @end
9 @interface NSString<NSObject>
10 @end
12 int main(void) {
13   NSString *stringA = @"stringA";
15   BOOL comparison = stringA==@"stringB";
19 // CHECK: {15:21-15:21}:"["
20 // CHECK: {15:28-15:30}:" isEqual:"
21 // CHECK: {15:40-15:40}:"]"