summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/nullable-weak-property.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjC/nullable-weak-property.m')
-rw-r--r--clang/test/SemaObjC/nullable-weak-property.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaObjC/nullable-weak-property.m b/clang/test/SemaObjC/nullable-weak-property.m
index 617ff4ee5c6..faafd204675 100644
--- a/clang/test/SemaObjC/nullable-weak-property.m
+++ b/clang/test/SemaObjC/nullable-weak-property.m
@@ -5,7 +5,7 @@
@interface NSObject @end
@class NSFoo;
-void foo (NSFoo * __nonnull);
+void foo (NSFoo * _Nonnull);
@interface NSBar : NSObject
@property(weak) NSFoo *property1;
@@ -13,6 +13,6 @@ void foo (NSFoo * __nonnull);
@implementation NSBar
- (void) Meth {
- foo (self.property1); // expected-warning {{implicit conversion from nullable pointer 'NSFoo * __nullable' to non-nullable pointer type 'NSFoo * __nonnull'}}
+ foo (self.property1); // expected-warning {{implicit conversion from nullable pointer 'NSFoo * _Nullable' to non-nullable pointer type 'NSFoo * _Nonnull'}}
}
@end
OpenPOWER on IntegriCloud