summaryrefslogtreecommitdiffstats
path: root/test/FixIt/fixit-add-synthesize-to-property.m
blob: 19b2f4b73f0134dcaae9990e54c26073c1f5d8a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang_cc1 -fdiagnostics-parseable-fixits %s 2>&1 | FileCheck %s

@protocol P1

@property int prop;

@end

@interface I <P1>

@end

@implementation I
@end // CHECK: fix-it:{{.*}}:{[[@LINE]]:1-[[@LINE]]:1}:"@synthesize prop;\n\n"