llvm-for-llvmta/tools/clang/test/FixIt/fixit-add-synthesize-to-property.m
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

15 lines
237 B
Objective-C

// 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"