hanchenye-llvm-project/clang/test/FixIt/fixit-objc.m

9 lines
174 B
Objective-C

// RUN: clang-cc -fsyntax-only -fixit-at=fixit-at.c:3:1 %s -o %t.m &&
// RUN: clang-cc -verify %t.m
@protocol X;
void foo() {
<X> *P; // should be fixed to 'id<X>'.
}