diff --git a/clang/test/SemaObjC/kindof.m b/clang/test/SemaObjC/kindof.m index 7f795c514814..b19e42372078 100644 --- a/clang/test/SemaObjC/kindof.m +++ b/clang/test/SemaObjC/kindof.m @@ -296,7 +296,7 @@ void implicit_convert_array(NSArray<__kindof NSString *> *kindofStringsArray, void testNullability() { // The base type being a pointer type tickles the bug. - extern __kindof id __nonnull getSomeCopyable(); + extern __kindof id _Nonnull getSomeCopyable(); NSString *string = getSomeCopyable(); // no-warning void processCopyable(__typeof(getSomeCopyable()) string);